mirror of
https://github.com/element-hq/element-web
synced 2024-11-27 19:56:47 +03:00
Auto-hide the electron menu bar
From https://github.com/vector-im/riot-web/issues/2962 This allows all the shortcuts to still work, and the menu bar can be un-hidden with the alt key.
This commit is contained in:
parent
641a5c244c
commit
83145e80e5
1 changed files with 1 additions and 0 deletions
|
@ -175,6 +175,7 @@ electron.app.on('ready', () => {
|
|||
icon: icon_path,
|
||||
width: 1024, height: 768,
|
||||
show: false,
|
||||
autoHideMenuBar: true,
|
||||
});
|
||||
mainWindow.loadURL(`file://${__dirname}/../../webapp/index.html`);
|
||||
electron.Menu.setApplicationMenu(VectorMenu);
|
||||
|
|
Loading…
Reference in a new issue