fix: allow CTRL+"+" to also zoom in. (#108)

Allow "+" to also zoom in.

Signed-off-by: a distraction <106486896+dresklaw@users.noreply.github.com>
Co-authored-by: Paul Makles <me@insrt.uk>
This commit is contained in:
a distraction 2026-02-17 15:59:18 -04:00 committed by GitHub
parent def29f9b3c
commit 2b962c5d06
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -111,7 +111,7 @@ export function createMainWindow() {
// rebind zoom controls to be more sensible
mainWindow.webContents.on("before-input-event", (event, input) => {
if (input.control && input.key === "=") {
if (input.control && (input.key === "=" || input.key === "+")) {
// zoom in (+)
event.preventDefault();
mainWindow.webContents.setZoomLevel(