SDA-3929 Ability to pop-up the menu by pressing alt key

This commit is contained in:
sbenmoussati 2022-11-03 09:40:38 +01:00 committed by Salah Benmoussati
parent df14fa19d1
commit 1be964c6f4

View File

@ -259,7 +259,7 @@ export const handleKeyPress = (key: number): void => {
break;
}
case KeyCodes.Alt:
if (isMac || isLinux || windowHandler.isCustomTitleBar) {
if (isMac || isLinux) {
return;
}
const browserWin = BrowserWindow.getFocusedWindow() as ICustomBrowserWindow;