Browse Source

Make TransformControls events more coherent (#28256)

Co-authored-by: Samuel Rigaud <[email protected]>
Samuel Rigaud 1 year ago
parent
commit
5a3b00adac
1 changed files with 1 additions and 1 deletions
  1. 1 1
      examples/jsm/controls/TransformControls.js

+ 1 - 1
examples/jsm/controls/TransformControls.js

@@ -32,7 +32,7 @@ const _unit = {
 };
 
 const _changeEvent = { type: 'change' };
-const _mouseDownEvent = { type: 'mouseDown' };
+const _mouseDownEvent = { type: 'mouseDown', mode: null };
 const _mouseUpEvent = { type: 'mouseUp', mode: null };
 const _objectChangeEvent = { type: 'objectChange' };