Allow Electron to zoom with CommandOrControl+=

Signed-off-by: Aaron Raimist <aaron@raim.ist>
This commit is contained in:
Aaron Raimist 2019-02-02 15:52:55 -06:00
parent 90140f6361
commit bfdffc653e
No known key found for this signature in database
GPG Key ID: 37419210002890EF
2 changed files with 2 additions and 1 deletions

View File

@ -213,7 +213,7 @@ for 64 bit Linux:
1. Follow the instructions in 'Building From Source' above 1. Follow the instructions in 'Building From Source' above
2. `node_modules/.bin/build -l --x64` 2. `node_modules/.bin/build -l --x64`
All electron packages go into `electron/dist/` All electron packages go into `electron_app/dist/`
Many thanks to @aviraldg for the initial work on the electron integration. Many thanks to @aviraldg for the initial work on the electron integration.

View File

@ -38,6 +38,7 @@ const template = [
{ type: 'separator' }, { type: 'separator' },
{ role: 'resetzoom' }, { role: 'resetzoom' },
{ role: 'zoomin' }, { role: 'zoomin' },
{ role: 'zoomin', accelerator: 'CommandOrControl+=' },
{ role: 'zoomout' }, { role: 'zoomout' },
{ type: 'separator' }, { type: 'separator' },
{ role: 'togglefullscreen' }, { role: 'togglefullscreen' },