diff --git a/web/js/panzoom.js b/web/js/panzoom.js index 1bb6680772..181ec44667 100644 --- a/web/js/panzoom.js +++ b/web/js/panzoom.js @@ -251,6 +251,14 @@ var zmPanZoom = { } } } + + if (this.panZoom[id].getScale().toFixed(1) > 1) { + this.panZoom[id].setOptions({handleStartEvent: (event) => { + event.preventDefault(); + }}); + } else { + this.panZoom[id].setOptions({handleStartEvent: (event) => {}}); + } }, click: function(id) {