Explorar el Código

improve the move event

4.x
cavencj hace 7 meses
padre
commit
83cd87ea34
Se han modificado 1 ficheros con 1 adiciones y 2 borrados
  1. 1
    2
      src/modules/event/type/MouseEvent.js

+ 1
- 2
src/modules/event/type/MouseEvent.js Ver fichero

@@ -140,10 +140,9 @@ class MouseEvent extends Event {
*
*/
_getMouseInfo(position) {
let scene = this._viewer.scene
return {
...this._getMousePosition(position),
target: scene.pick(position),
target: this._viewer.scene.pick(position),
}
}


Cargando…
Cancelar
Guardar