Преглед изворни кода

improve the move event

4.x
cavencj пре 7 месеци
родитељ
комит
83cd87ea34
1 измењених фајлова са 1 додато и 2 уклоњено
  1. 1
    2
      src/modules/event/type/MouseEvent.js

+ 1
- 2
src/modules/event/type/MouseEvent.js Прегледај датотеку

@@ -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),
}
}


Loading…
Откажи
Сачувај