Skip to content

Commit

Permalink
fix(Windows): Fix shortcut to toggle fullscreen
Browse files Browse the repository at this point in the history
  • Loading branch information
adlk committed Mar 26, 2018
1 parent f720d30 commit 1bbf966
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/Menu.js
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,7 @@ const _titleBarTemplateFactory = intl => [
label: app.mainWindow.isFullScreen() // label doesn't work, gets overridden by Electron
? intl.formatMessage(menuItems.exitFullScreen)
: intl.formatMessage(menuItems.enterFullScreen),
accelerator: `${ctrlKey}+F`,
accelerator: 'F11',
click(menuItem, browserWindow) {
browserWindow.setFullScreen(!browserWindow.isFullScreen());
},
Expand Down

0 comments on commit 1bbf966

Please sign in to comment.