Merge pull request #10739 from ahocevar/timeout-typo

Fix typo in trackpad timeout
This commit is contained in:
Andreas Hocevar
2020-02-27 07:49:09 +01:00
committed by GitHub

View File

@@ -224,7 +224,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;