Permalink
Browse files

Adds accelerators for zoom in/out

zoom in is <command>or<ctrl> + '='
zoom out is <command>or<ctrl> + '-'
  • Loading branch information...
robjloranger committed Oct 8, 2018
1 parent c9f079d commit 752648ef59ddc486f0455600df2f983b21faf568
Showing with 286 additions and 88 deletions.
  1. +2 −2 index.js
  2. +284 −86 package-lock.json
@@ -82,8 +82,8 @@ electron.app.on('ready', () => {
{ role: 'toggledevtools' },
{ type: 'separator' },
{ role: 'resetzoom' },
{ role: 'zoomin' },
{ role: 'zoomout' },
{ role: 'zoomin', accelerator: 'CmdOrCtrl+=' },
{ role: 'zoomout', accelerator: 'CmdOrCtrl+-' },
{ type: 'separator' },
{ role: 'togglefullscreen' }
]
Oops, something went wrong.

0 comments on commit 752648e

Please sign in to comment.