mirror of
https://github.com/vector-im/element-desktop.git
synced 2024-08-08 22:43:43 +00:00
Merge pull request #203 from dogancelik/numpad-zoom
Add numpad accelerators for zooming
This commit is contained in:
commit
f61370505b
1 changed files with 15 additions and 0 deletions
|
@ -66,6 +66,21 @@ function buildMenuTemplate() {
|
|||
accelerator: 'V',
|
||||
submenu: [
|
||||
{ type: 'separator' },
|
||||
{
|
||||
role: 'resetzoom',
|
||||
accelerator: 'CmdOrCtrl+Num0',
|
||||
visible: false,
|
||||
},
|
||||
{
|
||||
role: 'zoomin',
|
||||
accelerator: 'CmdOrCtrl+NumAdd',
|
||||
visible: false,
|
||||
},
|
||||
{
|
||||
role: 'zoomout',
|
||||
accelerator: 'CmdOrCtrl+NumSub',
|
||||
visible: false,
|
||||
},
|
||||
{
|
||||
role: 'resetzoom',
|
||||
label: _t('Actual Size'),
|
||||
|
|
Loading…
Reference in a new issue