Don't auto-hide menu bar on Windows and Linux (#5415)

This auto-hide behavior causes the bar to toggle visible and hidden when the user hits the <kbd>Alt</kbd> key, which can be quite often especially with Trackpad Friendly controls enabled.
This commit is contained in:
Frank Noirot
2025-02-18 12:45:29 -08:00
committed by GitHub
parent bffbed1d42
commit 71f701dec7

View File

@ -82,7 +82,7 @@ const createWindow = (pathToOpen?: string, reuse?: boolean): BrowserWindow => {
} }
if (!newWindow) { if (!newWindow) {
newWindow = new BrowserWindow({ newWindow = new BrowserWindow({
autoHideMenuBar: true, autoHideMenuBar: false,
show: false, show: false,
width: 1800, width: 1800,
height: 1200, height: 1200,