Преглед на файлове

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…
Отказ
Запис