Browse Source

Merge pull request #2975 from vector-im/dbkr/auto_hide_menu_bar

Auto-hide the electron menu bar
pull/2960/merge
Richard van der Hoff 6 years ago committed by GitHub
parent
commit
5978aff632
  1. 1
      electron/src/electron-main.js

1
electron/src/electron-main.js

@ -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…
Cancel
Save