diff options
author | Andrew Dolgov <[email protected]> | 2019-03-14 17:24:16 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2019-03-14 17:24:16 +0300 |
commit | 774bbc4cf46f378820c23f7eda0bc77b323d941b (patch) | |
tree | 708c5f82645881d9759a2d660868c24963db1a5a | |
parent | 0ba3d471e292f3e6ae0df482c76d95ee455b92cc (diff) |
zoom elems
-rwxr-xr-x | app.js | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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"); }}, + ] }, |