Skip to content
This repository has been archived by the owner on Jan 15, 2021. It is now read-only.

Commit

Permalink
remove global F11 shortcut
Browse files Browse the repository at this point in the history
  • Loading branch information
krydos committed Apr 9, 2019
1 parent d42e53a commit 3bdb7e0
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
1 change: 0 additions & 1 deletion src/shortcutConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,6 @@ class ShortcutConfig {
'quick-add': 'CommandOrControl+Alt+a',
'show-hide': 'CommandOrControl+Alt+Q',
'refresh': 'CommandOrControl+Alt+r',
'toggle-fullscreen': 'F11',
'quit': 'Alt+F4',
}
}
Expand Down
8 changes: 0 additions & 8 deletions src/shortcuts.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ class shortcuts {
this.registerQuickAddShortcut();
this.registerShowHideShortcut();
this.registerReloadShortcut();
this.registerFullscreenShortcut();
this.registerQuitShortcut();
}

Expand Down Expand Up @@ -48,13 +47,6 @@ class shortcuts {
});
}

// toogle full screen
registerFullscreenShortcut() {
globalShortcut.register(this.shortcutConfig.config['toggle-fullscreen'], () => {
this.win.setFullScreen(!this.win.isFullScreen());
});
}

registerQuitShortcut() {
globalShortcut.register(this.shortcutConfig.config['quit'], () => {
// isQuiting is important for
Expand Down

0 comments on commit 3bdb7e0

Please sign in to comment.