feat: expand zoom range from 50-200% to 10-500% for unlimited scaling
This commit is contained in:
+2
-2
@@ -343,7 +343,7 @@
|
||||
|
||||
/**
|
||||
* Apply zoom transformation to CV paper
|
||||
* @param {number} zoomValue - Zoom percentage (50-200)
|
||||
* @param {number} zoomValue - Zoom percentage (10-500)
|
||||
* @param {boolean} saveToStorage - Whether to persist to localStorage
|
||||
*/
|
||||
function applyZoom(zoomValue, saveToStorage = true) {
|
||||
@@ -405,7 +405,7 @@
|
||||
if (!slider) return;
|
||||
|
||||
const currentZoom = parseInt(slider.value, 10);
|
||||
const newZoom = Math.min(200, Math.max(50, currentZoom + step));
|
||||
const newZoom = Math.min(500, Math.max(10, currentZoom + step));
|
||||
|
||||
slider.value = newZoom;
|
||||
applyZoom(newZoom, true);
|
||||
|
||||
Reference in New Issue
Block a user