Merge pull request #8381 from aaronraimist/electron-browser-zoom+

Allow Electron to zoom with CommandOrControl+=
This commit is contained in:
J. Ryan Stinnett 2019-02-07 08:22:45 +00:00 committed by GitHub
commit 5030410dd6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 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

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