Merge pull request #10739 from ahocevar/timeout-typo
Fix typo in trackpad timeout
This commit is contained in:
@@ -224,7 +224,7 @@ class MouseWheelZoom extends Interaction {
|
|||||||
}
|
}
|
||||||
view.beginInteraction();
|
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_);
|
view.adjustZoom(-delta / this.deltaPerZoom_, this.lastAnchor_);
|
||||||
this.startTime_ = now;
|
this.startTime_ = now;
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
Reference in New Issue
Block a user