Skip to content

Commit

Permalink
Examples: Clean up. (#21957)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mugen87 authored Jun 6, 2021
1 parent b56aa9c commit b2f6ec8
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions examples/js/controls/DragControls.js
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@

case 'mouse':
case 'pen':
onMouseDown( event );
onMouseDown();
break;
// TODO touch

Expand Down Expand Up @@ -219,7 +219,7 @@

case 'mouse':
case 'pen':
onMouseCancel( event );
onMouseCancel();
break;
// TODO touch

Expand Down
2 changes: 1 addition & 1 deletion examples/js/controls/TrackballControls.js
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,7 @@

case 'mouse':
case 'pen':
onMouseUp( event );
onMouseUp();
break;
// TODO touch

Expand Down
4 changes: 2 additions & 2 deletions examples/jsm/controls/DragControls.js
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ class DragControls extends EventDispatcher {

case 'mouse':
case 'pen':
onMouseDown( event );
onMouseDown();
break;

// TODO touch
Expand Down Expand Up @@ -198,7 +198,7 @@ class DragControls extends EventDispatcher {

case 'mouse':
case 'pen':
onMouseCancel( event );
onMouseCancel();
break;

// TODO touch
Expand Down
2 changes: 1 addition & 1 deletion examples/jsm/controls/TrackballControls.js
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,7 @@ class TrackballControls extends EventDispatcher {

case 'mouse':
case 'pen':
onMouseUp( event );
onMouseUp();
break;

// TODO touch
Expand Down

0 comments on commit b2f6ec8

Please # to comment.