Skip to content

Commit fd51eb6

Browse files
wasabiadonmccurdy
authored andcommitted
fix property (mrdoob#23658)
1 parent ad6b0c9 commit fd51eb6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/jsm/controls/TrackballControls.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -703,7 +703,7 @@ class TrackballControls extends EventDispatcher {
703703

704704
case 2:
705705
_state = STATE.TOUCH_ZOOM_PAN;
706-
_moveCurr.copy( getMouseOnCircle( event.pageX - _movePrev.pageX, event.pageY - _movePrev.pageY ) );
706+
_moveCurr.copy( getMouseOnCircle( event.pageX - _movePrev.x, event.pageY - _movePrev.y ) );
707707
_movePrev.copy( _moveCurr );
708708
break;
709709

0 commit comments

Comments
 (0)