From e7c7ab71b469f4c9d63a4da85595a73b250d1971 Mon Sep 17 00:00:00 2001 From: John Lancaster <32917998+jsl12@users.noreply.github.com> Date: Sun, 28 Jun 2026 22:20:48 -0500 Subject: [PATCH] zooming fix --- src/transcription/ui/components/document_panzoom.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/transcription/ui/components/document_panzoom.py b/src/transcription/ui/components/document_panzoom.py index ff60304..5407169 100644 --- a/src/transcription/ui/components/document_panzoom.py +++ b/src/transcription/ui/components/document_panzoom.py @@ -137,7 +137,7 @@ def _attach_panzoom(host_id: str) -> None: }} const startScale = fitScale; - const minScale = 0.1; + const minScale = 0.01; const instance = Panzoom(target, {{ maxScale: 32, minScale: minScale, @@ -153,6 +153,7 @@ def _attach_panzoom(host_id: str) -> None: requestAnimationFrame(() => {{ requestAnimationFrame(() => {{ instance.reset({{ animate: false, force: true }}); + instance.setOptions({{ contain: undefined }}); }}); }});