From 9d70acd080ca8a389e2eb2689fb18d3f6f60b320 Mon Sep 17 00:00:00 2001 From: a distraction <106486896+dresklaw@users.noreply.github.com> Date: Sun, 15 Feb 2026 12:54:53 -0400 Subject: [PATCH] Add common zoom reset shortcut. Signed-off-by: a distraction <106486896+dresklaw@users.noreply.github.com> --- src/native/window.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/native/window.ts b/src/native/window.ts index 450124e..e5ab232 100644 --- a/src/native/window.ts +++ b/src/native/window.ts @@ -117,6 +117,10 @@ export function createMainWindow() { mainWindow.webContents.setZoomLevel( mainWindow.webContents.getZoomLevel() - 1, ); + } else if (input.control && input.key === "0") { + // reset zoom to default. + event.preventDefault(); + mainWindow.webContents.setZoomLevel(0); } });