Skip to content

Commit

Permalink
Update ArcballControls.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Mugen87 authored Oct 12, 2021
1 parent cf29056 commit b053214
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/jsm/controls/ArcballControls.js
Original file line number Diff line number Diff line change
Expand Up @@ -2097,7 +2097,7 @@ class ArcballControls extends Object3D {
window.removeEventListener( 'pointerup', this.onPointerUp );

window.removeEventListener( 'resize', this.onWindowResize );
window.addEventListener( 'keydown', this.onKeyDown );
window.removeEventListener( 'keydown', this.onKeyDown );

this.scene.remove( this._gizmos );
this.disposeGrid();
Expand Down

0 comments on commit b053214

Please sign in to comment.