mirror of
https://github.com/finos/SymphonyElectron.git
synced 2025-02-25 18:55:29 -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;
|
break;
|
||||||
}
|
}
|
||||||
case KeyCodes.Alt:
|
case KeyCodes.Alt:
|
||||||
if (isMac) {
|
if (isMac || windowHandler.isCustomTitleBar) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
const browserWin = BrowserWindow.getFocusedWindow() as ICustomBrowserWindow;
|
const browserWin = BrowserWindow.getFocusedWindow() as ICustomBrowserWindow;
|
||||||
|
Loading…
Reference in New Issue
Block a user