Update MouseWheelZoom.js

This commit is contained in:
wussup
2020-04-20 16:01:51 +02:00
committed by GitHub
parent b6fc2bf2fe
commit 7e1305eab2

View File

@@ -229,8 +229,7 @@ class MouseWheelZoom extends Interaction {
if (
this.mode_ === Mode.TRACKPAD &&
!(view.getConstrainResolution() || this.constrainResolution_)
)
{
) {
if (this.trackpadTimeoutId_) {
clearTimeout(this.trackpadTimeoutId_);
} else {