Skip to content

Commit 83145e8

Browse files
committed
Auto-hide the electron menu bar
From element-hq#2962 This allows all the shortcuts to still work, and the menu bar can be un-hidden with the alt key.
1 parent 641a5c2 commit 83145e8

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎electron/src/electron-main.js‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,7 @@ electron.app.on('ready', () => {
175175
icon: icon_path,
176176
width: 1024, height: 768,
177177
show: false,
178+
autoHideMenuBar: true,
178179
});
179180
mainWindow.loadURL(`file://${__dirname}/../../webapp/index.html`);
180181
electron.Menu.setApplicationMenu(VectorMenu);

0 commit comments

Comments
 (0)