From d805fa95e466a74f8c796d75a97ef20539393ad7 Mon Sep 17 00:00:00 2001 From: Joeri Exelmans Date: Fri, 14 Nov 2025 11:01:15 +0100 Subject: [PATCH] bind zoom in shortcut also to Ctrl+= (like browsers do)" --- src/App/TopPanel/ZoomButtons.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/App/TopPanel/ZoomButtons.tsx b/src/App/TopPanel/ZoomButtons.tsx index 8db4a8c..77ae440 100644 --- a/src/App/TopPanel/ZoomButtons.tsx +++ b/src/App/TopPanel/ZoomButtons.tsx @@ -22,7 +22,7 @@ export const ZoomButtons = memo(function ZoomButtons({showKeys, zoom, setZoom}: useEffect(() => { const onKeyDown = (e: KeyboardEvent) => { if (e.ctrlKey) { - if (e.key === "+") { + if (e.key === "+" || e.key === "=") { e.preventDefault(); e.stopPropagation(); onZoomIn();