diff --git a/default_app/main.js b/default_app/main.js index 46b588e34ed0..b4d74d810954 100644 --- a/default_app/main.js +++ b/default_app/main.js @@ -90,9 +90,6 @@ app.once('ready', () => { if (focusedWindow) focusedWindow.reload() } }, - { - role: 'togglefullscreen' - }, { label: 'Toggle Developer Tools', accelerator: process.platform === 'darwin' ? 'Alt+Command+I' : 'Ctrl+Shift+I', @@ -133,6 +130,12 @@ app.once('ready', () => { }) } } + }, + { + type: 'separator' + }, + { + role: 'togglefullscreen' } ] }, diff --git a/docs/api/menu.md b/docs/api/menu.md index 760942df2491..ee56fc68adbb 100644 --- a/docs/api/menu.md +++ b/docs/api/menu.md @@ -79,15 +79,18 @@ const template = [ if (focusedWindow) focusedWindow.reload() } }, - { - role: 'togglefullscreen' - }, { label: 'Toggle Developer Tools', accelerator: process.platform === 'darwin' ? 'Alt+Command+I' : 'Ctrl+Shift+I', click (item, focusedWindow) { if (focusedWindow) focusedWindow.webContents.toggleDevTools() } + }, + { + type: 'separator' + }, + { + role: 'togglefullscreen' } ] },