Ver Fonte

Update ArcballControls.js

Michael Herzog há 3 anos atrás
pai
commit
4ea1a19b08
1 ficheiros alterados com 0 adições e 1 exclusões
  1. 0 1
      examples/jsm/controls/ArcballControls.js

+ 0 - 1
examples/jsm/controls/ArcballControls.js

@@ -2078,7 +2078,6 @@ class ArcballControls extends EventDispatcher {
 		window.removeEventListener( 'pointerup', this.onPointerUp );
 
 		window.removeEventListener( 'resize', this.onWindowResize );
-		window.removeEventListener( 'keydown', this.onKeyDown );
 
 		if ( this.scene !== null ) this.scene.remove( this._gizmos );
 		this.disposeGrid();