diff --git a/modules/util/zoom_pan.js b/modules/util/zoom_pan.js index 3053bdcc2..ec731c10e 100644 --- a/modules/util/zoom_pan.js +++ b/modules/util/zoom_pan.js @@ -266,7 +266,7 @@ export function utilZoomPan() { } function pointermove() { - if (!this.__zooming) return; + if (!this.__zooming || !_pointerLocGetter) return; var g = gesture(this, arguments);