File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -998,7 +998,7 @@ THREE.OrbitControls = function ( object, domElement ) {
998998
999999 switch ( scope . touches . ONE ) {
10001000
1001- case TOUCH . ROTATE :
1001+ case THREE . TOUCH . ROTATE :
10021002
10031003 if ( scope . enableRotate === false ) return ;
10041004
@@ -1008,7 +1008,7 @@ THREE.OrbitControls = function ( object, domElement ) {
10081008
10091009 break ;
10101010
1011- case TOUCH . PAN :
1011+ case THREE . TOUCH . PAN :
10121012
10131013 if ( scope . enablePan === false ) return ;
10141014
@@ -1030,7 +1030,7 @@ THREE.OrbitControls = function ( object, domElement ) {
10301030
10311031 switch ( scope . touches . TWO ) {
10321032
1033- case TOUCH . DOLLY_PAN :
1033+ case THREE . TOUCH . DOLLY_PAN :
10341034
10351035 if ( scope . enableZoom === false && scope . enablePan === false ) return ;
10361036
@@ -1040,7 +1040,7 @@ THREE.OrbitControls = function ( object, domElement ) {
10401040
10411041 break ;
10421042
1043- case TOUCH . DOLLY_ROTATE :
1043+ case THREE . TOUCH . DOLLY_ROTATE :
10441044
10451045 if ( scope . enableZoom === false && scope . enableRotate === false ) return ;
10461046
You can’t perform that action at this time.
0 commit comments