Update MouseWheelZoom.js
This commit is contained in:
@@ -229,8 +229,7 @@ class MouseWheelZoom extends Interaction {
|
|||||||
if (
|
if (
|
||||||
this.mode_ === Mode.TRACKPAD &&
|
this.mode_ === Mode.TRACKPAD &&
|
||||||
!(view.getConstrainResolution() || this.constrainResolution_)
|
!(view.getConstrainResolution() || this.constrainResolution_)
|
||||||
)
|
) {
|
||||||
{
|
|
||||||
if (this.trackpadTimeoutId_) {
|
if (this.trackpadTimeoutId_) {
|
||||||
clearTimeout(this.trackpadTimeoutId_);
|
clearTimeout(this.trackpadTimeoutId_);
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user