Skip to content

Commit 89bbbd8

Browse files
committed
feat(controls): disabled multi actions when zooming
BREAKING CHANGE: disabled multi actions when zooming
1 parent 85ce178 commit 89bbbd8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Controls/StateControl.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -396,6 +396,7 @@ class StateControl extends THREE.EventDispatcher {
396396

397397
if (this.enabled && this.ZOOM.enable) {
398398
viewCoords.copy(this._view.eventToViewCoords(event));
399+
this.currentState = this.NONE;
399400
this.dispatchEvent({ type: this.ZOOM._event, delta: event.deltaY, viewCoords });
400401
}
401402
}

0 commit comments

Comments
 (0)