Chore: Remove extra space (panzoom.js)

This commit is contained in:
IgorA100
2024-09-17 10:53:49 +03:00
committed by GitHub
parent 6f50c7169e
commit b59c2f564c

View File

@@ -175,7 +175,7 @@ var zmPanZoom = {
},
setTouchAction: function(el) {
if (!el) return;
if (!el) return;
const currentScale = el.getScale().toFixed(1);
if (currentScale == 1) {
el.setOptions({touchAction: 'manipulation'});