summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2019-03-14 17:24:16 +0300
committerAndrew Dolgov <[email protected]>2019-03-14 17:24:16 +0300
commit774bbc4cf46f378820c23f7eda0bc77b323d941b (patch)
tree708c5f82645881d9759a2d660868c24963db1a5a
parent0ba3d471e292f3e6ae0df482c76d95ee455b92cc (diff)
zoom elems
-rwxr-xr-xapp.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/app.js b/app.js
index f06d0aa..2c72af5 100755
--- a/app.js
+++ b/app.js
@@ -61,6 +61,11 @@ function createWindow() {
{type: 'separator'},
{id: 'F-SINGLE', label: 'Single column', type: 'checkbox', click: () => { mainWindow.webContents.send("single-column"); }},
{id: 'F-FLIP', label: 'Mirror (manga mode)', type: 'checkbox', click: () => { mainWindow.webContents.send("flip-columns"); }},
+ {type: 'separator'},
+ {id: 'F-ZOOM-IN', label: 'Zoom in', accelerator: 'Ctrl++', click: () => { mainWindow.webContents.send("zoom-in"); }},
+ {id: 'F-ZOOM-OUT', label: 'Zoom out', accelerator: 'Ctrl+-', click: () => { mainWindow.webContents.send("zoom-out"); }},
+ {id: 'F-ZOOM-RESET', label: 'Reset zoom', accelerator: 'Ctrl+0', click: () => { mainWindow.webContents.send("zoom-reset"); }},
+
]
},