Increase SVG viewer max zoom level to 100x

This commit is contained in:
ema
2025-07-01 03:40:30 +08:00
parent fe13f5d45e
commit 72c8e567cd

View File

@@ -23,7 +23,7 @@ class SvgViewer {
// Initial scale and scale limits // Initial scale and scale limits
this.scale = 1; this.scale = 1;
this.minScale = 0.1; this.minScale = 0.1;
this.maxScale = 10; this.maxScale = 100; // Increased zoom upper limit by 10x
this.scaleStep = 1.2; this.scaleStep = 1.2;
this.baseScale = 1; this.baseScale = 1;