diff --git a/src/main/menus/app.js b/src/main/menus/app.js index a3cba904..a3d18b29 100644 --- a/src/main/menus/app.js +++ b/src/main/menus/app.js @@ -115,20 +115,7 @@ var createTemplate = function(mainWindow, config) { } } }, { - label: 'Toggle Full Screen', - accelerator: (function() { - if (process.platform === 'darwin') { - return 'Ctrl+Command+F'; - } - else { - return 'F11'; - } - })(), - click: function(item, focusedWindow) { - if (focusedWindow) { - focusedWindow.setFullScreen(!focusedWindow.isFullScreen()); - } - } + role: 'togglefullscreen' }, separatorItem, { label: 'Actual Size', accelerator: 'CmdOrCtrl+0',