@needle-tools/three 0.160.2 → 0.160.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -433,7 +433,7 @@ class OrbitControls extends EventDispatcher {
|
|
|
433
433
|
scope.domElement.removeEventListener( 'wheel', onMouseWheel );
|
|
434
434
|
|
|
435
435
|
scope.domElement.removeEventListener( 'pointermove', onPointerMove );
|
|
436
|
-
|
|
436
|
+
window.removeEventListener( 'pointerup', onPointerUp );
|
|
437
437
|
|
|
438
438
|
|
|
439
439
|
if ( scope._domElementKeyEvents !== null ) {
|
|
@@ -1022,7 +1022,7 @@ class OrbitControls extends EventDispatcher {
|
|
|
1022
1022
|
// scope.domElement.setPointerCapture( event.pointerId );
|
|
1023
1023
|
|
|
1024
1024
|
scope.domElement.addEventListener( 'pointermove', onPointerMove );
|
|
1025
|
-
|
|
1025
|
+
window.addEventListener( 'pointerup', onPointerUp );
|
|
1026
1026
|
|
|
1027
1027
|
}
|
|
1028
1028
|
|