Explorar o código

Make TransformControls events more coherent (#28256)

Co-authored-by: Samuel Rigaud <srigaud@duodisplay.com>
Samuel Rigaud hai 1 ano
pai
achega
5a3b00adac
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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' };
 

粤ICP备19079148号