Merge pull request #2975 from vector-im/dbkr/auto_hide_menu_bar
Auto-hide the electron menu bar
This commit is contained in:
commit
5978aff632
|
@ -175,6 +175,7 @@ electron.app.on('ready', () => {
|
||||||
icon: icon_path,
|
icon: icon_path,
|
||||||
width: 1024, height: 768,
|
width: 1024, height: 768,
|
||||||
show: false,
|
show: false,
|
||||||
|
autoHideMenuBar: true,
|
||||||
});
|
});
|
||||||
mainWindow.loadURL(`file://${__dirname}/../../webapp/index.html`);
|
mainWindow.loadURL(`file://${__dirname}/../../webapp/index.html`);
|
||||||
electron.Menu.setApplicationMenu(VectorMenu);
|
electron.Menu.setApplicationMenu(VectorMenu);
|
||||||
|
|
Loading…
Reference in New Issue