mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-12 20:18:41 -09:00
fix keymap to open hamburger menu
This commit is contained in:
parent
8df05bba2c
commit
7f10453e91
1 changed files with 2 additions and 2 deletions
|
|
@ -111,8 +111,8 @@ const commands: Record<string, (focusedWindow?: BrowserWindow) => void> = {
|
||||||
installCLI(true);
|
installCLI(true);
|
||||||
},
|
},
|
||||||
'window:hamburgerMenu': () => {
|
'window:hamburgerMenu': () => {
|
||||||
if (getConfig().showHamburgerMenu) {
|
if (process.platform !== 'darwin' && ['', true].includes(getConfig().showHamburgerMenu)) {
|
||||||
Menu.getApplicationMenu()!.popup({x: 15, y: 15});
|
Menu.getApplicationMenu()!.popup({x: 25, y: 22});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue