From ed2361ff224a320092476a96c5c741eac892eae0 Mon Sep 17 00:00:00 2001 From: V Date: Mon, 3 Jul 2023 22:25:11 +0200 Subject: [PATCH] Don't show Menubar on alt press Closes #45 --- src/main/mainWindow.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/mainWindow.ts b/src/main/mainWindow.ts index a46348f..4e115a1 100644 --- a/src/main/mainWindow.ts +++ b/src/main/mainWindow.ts @@ -252,7 +252,6 @@ function createMainWindow() { const win = (mainWin = new BrowserWindow({ show: false, - autoHideMenuBar: true, webPreferences: { nodeIntegration: false, sandbox: false, @@ -272,6 +271,7 @@ function createMainWindow() { : {}), ...getWindowBoundsOptions() })); + win.setMenuBarVisibility(false); win.on("close", e => { if (isQuitting || Settings.store.minimizeToTray === false || Settings.store.tray === false) return;