Skip to content

Commit

Permalink
ThreeJS144
Browse files Browse the repository at this point in the history
  • Loading branch information
solcloud committed Sep 25, 2022
1 parent 57fe867 commit 65b2521
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 35,854 deletions.
2 changes: 0 additions & 2 deletions www/assets/threejs/orbit-control.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@
constructor( object, domElement ) {

super();
if ( domElement === undefined ) console.warn( 'THREE.OrbitControls: The second parameter "domElement" is now mandatory.' );
if ( domElement === document ) console.error( 'THREE.OrbitControls: "document" should not be used as the target "domElement". Please use "renderer.domElement" instead.' );
this.object = object;
this.domElement = domElement;
this.domElement.style.touchAction = 'none'; // disable touch scroll
Expand Down
Loading

0 comments on commit 65b2521

Please sign in to comment.