diff --git a/examples/js/controls/DragControls.js b/examples/js/controls/DragControls.js index cdbfee806c55b3..219180fab133fc 100644 --- a/examples/js/controls/DragControls.js +++ b/examples/js/controls/DragControls.js @@ -175,7 +175,7 @@ case 'mouse': case 'pen': - onMouseDown( event ); + onMouseDown(); break; // TODO touch @@ -219,7 +219,7 @@ case 'mouse': case 'pen': - onMouseCancel( event ); + onMouseCancel(); break; // TODO touch diff --git a/examples/js/controls/TrackballControls.js b/examples/js/controls/TrackballControls.js index 44c5b1033b6360..9330c35d52215f 100644 --- a/examples/js/controls/TrackballControls.js +++ b/examples/js/controls/TrackballControls.js @@ -419,7 +419,7 @@ case 'mouse': case 'pen': - onMouseUp( event ); + onMouseUp(); break; // TODO touch diff --git a/examples/jsm/controls/DragControls.js b/examples/jsm/controls/DragControls.js index 96af1e2271bc4d..bab258202e4339 100644 --- a/examples/jsm/controls/DragControls.js +++ b/examples/jsm/controls/DragControls.js @@ -156,7 +156,7 @@ class DragControls extends EventDispatcher { case 'mouse': case 'pen': - onMouseDown( event ); + onMouseDown(); break; // TODO touch @@ -198,7 +198,7 @@ class DragControls extends EventDispatcher { case 'mouse': case 'pen': - onMouseCancel( event ); + onMouseCancel(); break; // TODO touch diff --git a/examples/jsm/controls/TrackballControls.js b/examples/jsm/controls/TrackballControls.js index f8d60b57e6b306..7a94675c36a0f1 100644 --- a/examples/jsm/controls/TrackballControls.js +++ b/examples/jsm/controls/TrackballControls.js @@ -444,7 +444,7 @@ class TrackballControls extends EventDispatcher { case 'mouse': case 'pen': - onMouseUp( event ); + onMouseUp(); break; // TODO touch