Fix confusing zoomin shortcut (#2289)

* Add hidden ctrl plus shortcut for zoomin

* Add numpad codes to zoom shortcuts
This commit is contained in:
vallode 2022-06-20 13:57:25 +02:00 committed by GitHub
parent 72b4e17cd4
commit 6a07d558b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 1 deletions

View File

@ -802,8 +802,12 @@ function runApp() {
{ role: 'toggledevtools' },
{ type: 'separator' },
{ role: 'resetzoom' },
{ role: 'zoomin' },
{ role: 'resetzoom', accelerator: 'CmdOrCtrl+num0', visible: false },
{ role: 'zoomin', accelerator: 'CmdOrCtrl+Plus' },
{ role: 'zoomin', accelerator: 'CmdOrCtrl+=', visible: false },
{ role: 'zoomin', accelerator: 'CmdOrCtrl+numadd', visible: false },
{ role: 'zoomout' },
{ role: 'zoomout', accelerator: 'CmdOrCtrl+numsub', visible: false },
{ type: 'separator' },
{ role: 'togglefullscreen' }
]