This commit is contained in:
2025-05-18 17:23:02 +02:00
parent b33b172644
commit 6cf29852e3

View File

@@ -367,7 +367,7 @@
const zoomValues = [0.5, 1, 2, 3, 4];
const currentIndex = zoomValues.indexOf(Number(zoom.value));
if (currentIndex < zoomValues.length - 1) {
zoom.value = zoomValues[currentIndex + 1].toString();
zoom.value = zoomValues[currentIndex + 1];
}
};
@@ -375,7 +375,7 @@
const zoomValues = [0.5, 1, 2, 3, 4];
const currentIndex = zoomValues.indexOf(Number(zoom.value));
if (currentIndex > 0) {
zoom.value = zoomValues[currentIndex - 1].toString();
zoom.value = zoomValues[currentIndex - 1];
}
};