From 7f10453e91751a93b042e02f5b862cf460143704 Mon Sep 17 00:00:00 2001 From: Labhansh Agrawal Date: Fri, 26 Jun 2020 19:34:15 +0530 Subject: [PATCH] fix keymap to open hamburger menu --- app/commands.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/commands.ts b/app/commands.ts index 6e8a7dfe..4f3b1691 100644 --- a/app/commands.ts +++ b/app/commands.ts @@ -111,8 +111,8 @@ const commands: Record void> = { installCLI(true); }, 'window:hamburgerMenu': () => { - if (getConfig().showHamburgerMenu) { - Menu.getApplicationMenu()!.popup({x: 15, y: 15}); + if (process.platform !== 'darwin' && ['', true].includes(getConfig().showHamburgerMenu)) { + Menu.getApplicationMenu()!.popup({x: 25, y: 22}); } } };