From 7e1305eab2effc6155a8ec80fa8390126a3190e1 Mon Sep 17 00:00:00 2001 From: wussup Date: Mon, 20 Apr 2020 16:01:51 +0200 Subject: [PATCH] Update MouseWheelZoom.js --- src/ol/interaction/MouseWheelZoom.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/ol/interaction/MouseWheelZoom.js b/src/ol/interaction/MouseWheelZoom.js index 9702ec4ccc..a34c6577bb 100644 --- a/src/ol/interaction/MouseWheelZoom.js +++ b/src/ol/interaction/MouseWheelZoom.js @@ -229,8 +229,7 @@ class MouseWheelZoom extends Interaction { if ( this.mode_ === Mode.TRACKPAD && !(view.getConstrainResolution() || this.constrainResolution_) - ) - { + ) { if (this.trackpadTimeoutId_) { clearTimeout(this.trackpadTimeoutId_); } else {