Skip to content

Commit 3e1d206

Browse files
adding zoom in and zoom out capabilities (#175)
1 parent a6cb759 commit 3e1d206

File tree

1 file changed

+19
-1
lines changed

1 file changed

+19
-1
lines changed

electron/app/js/wktWindow.js

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -585,7 +585,25 @@ class WktAppMenu {
585585
accelerator: 'CommandOrControl+W',
586586
enabled: !this._hasOpenDialog,
587587
role: 'close'
588-
}
588+
},
589+
{
590+
type: 'separator'
591+
},
592+
{
593+
id: 'resetZoom',
594+
enabled: !this._hasOpenDialog,
595+
role: "resetZoom"
596+
},
597+
{
598+
id: 'zoomIn',
599+
enabled: !this._hasOpenDialog,
600+
role: "zoomIn"
601+
},
602+
{
603+
id: 'zoomOut',
604+
enabled: !this._hasOpenDialog,
605+
role: "zoomOut"
606+
},
589607
]
590608
},
591609
{

0 commit comments

Comments
 (0)