Hide top menu bar unless Alt key is pressed (Windows, Linux)

This commit is contained in:
Feross Aboukhadijeh
2016-03-07 18:18:31 -08:00
parent 1ea055eb4a
commit 58d7f93ec8

View File

@@ -16,6 +16,7 @@ app.on('before-quit', function () {
function createMainWindow (menu) {
var win = windows.main = new electron.BrowserWindow({
autoHideMenuBar: true, // Hide top menu bar unless Alt key is pressed (Windows, Linux)
backgroundColor: '#282828',
darkTheme: true,
minWidth: 375,