Fix typo in trackpad timeout

This commit is contained in:
Andreas Hocevar
2020-02-26 19:27:20 +01:00
parent 59f14eaa2e
commit e9227a9bc1

View File

@@ -222,7 +222,7 @@ class MouseWheelZoom extends Interaction {
}
view.beginInteraction();
}
this.trackpadTimeoutId_ = setTimeout(this.endInteraction_.bind(this), this.timeoutId_);
this.trackpadTimeoutId_ = setTimeout(this.endInteraction_.bind(this), this.timeout_);
view.adjustZoom(-delta / this.deltaPerZoom_, this.lastAnchor_);
this.startTime_ = now;
return false;