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:
@ -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,
|
||||||
|
Reference in New Issue
Block a user