From e1e3cc7999a8404669e14447c11a61269c58378b Mon Sep 17 00:00:00 2001 From: William Grant Date: Wed, 28 Mar 2018 19:17:40 +0200 Subject: [PATCH] moved label to a better position --- lib/main-menu.js | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/lib/main-menu.js b/lib/main-menu.js index f0830863..644491ec 100644 --- a/lib/main-menu.js +++ b/lib/main-menu.js @@ -230,13 +230,6 @@ const view = { BrowserWindow.getFocusedWindow().toggleDevTools() } }, - { - label: 'Toggle Full Screen', - accelerator: macOS ? 'Command+Control+F' : 'F11', - click () { - mainWindow.setFullScreen(!mainWindow.isFullScreen()) - } - }, { type: 'separator' }, @@ -263,6 +256,16 @@ const view = { click () { mainWindow.webContents.send('top:focus-search') } + }, + { + type: 'separator' + }, + { + label:'Toggle Full Screen', + accelerator: macOS ? 'Command+Control+F' : 'F11', + click () { + mainWindow.setFullScreen(!mainWindow.isFullScreen()) + } } ] }