mirror of
https://github.com/finos/SymphonyElectron.git
synced 2024-12-28 09:51:06 -06:00
fix: ELECTRON-1406: fix issue in windows menu popping up for custom title bar (#736)
* ELECTRON-1406: fix issue in windows menu popping up for custom title bar * ELECTRON-1406: apply PR suggestions
This commit is contained in:
parent
660455b164
commit
2d958cc75f
@ -146,7 +146,7 @@ export const handleKeyPress = (key: number): void => {
|
||||
break;
|
||||
}
|
||||
case KeyCodes.Alt:
|
||||
if (isMac) {
|
||||
if (isMac || windowHandler.isCustomTitleBar) {
|
||||
return;
|
||||
}
|
||||
const browserWin = BrowserWindow.getFocusedWindow() as ICustomBrowserWindow;
|
||||
|
Loading…
Reference in New Issue
Block a user