increase max zoom out for mobile

This commit is contained in:
Evan
2025-02-12 20:29:27 -08:00
parent 421c6e7841
commit 74bdae1ce7
+1 -1
View File
@@ -190,7 +190,7 @@ export class TransformHandler {
this.scale /= zoomFactor;
// Clamp the scale to prevent extreme zooming
this.scale = Math.max(0.5, Math.min(20, this.scale));
this.scale = Math.max(0.2, Math.min(20, this.scale));
const canvasRect = this.boundingRect();
const canvasX = event.x - canvasRect.left;