summaryrefslogtreecommitdiff
path: root/app.js
diff options
context:
space:
mode:
Diffstat (limited to 'app.js')
-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"); }},
+
]
},