mirror of
https://github.com/CringeStudios/element-desktop.git
synced 2025-01-19 07:54:59 +01:00
Add numpad accelerators for zooming
Signed-off-by: Doğan Çelik <dogancelik93@gmail.com>
This commit is contained in:
parent
330e230f2c
commit
225456b8e0
@ -66,6 +66,21 @@ function buildMenuTemplate() {
|
|||||||
accelerator: 'V',
|
accelerator: 'V',
|
||||||
submenu: [
|
submenu: [
|
||||||
{ type: 'separator' },
|
{ 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',
|
role: 'resetzoom',
|
||||||
label: _t('Actual Size'),
|
label: _t('Actual Size'),
|
||||||
|
Loading…
Reference in New Issue
Block a user