UNPKG

lingo3d

Version:

Lingo3D is a React/Vue 3d game development framework that ships with a complete visual editor

11 lines 491 B
import { handleStopPropagation } from "../../engine/hotkeys"; import { emitSelectionTarget } from "../../events/onSelectionTarget"; import { setWorldPlay } from "../../states/useWorldPlay"; import { toggleRightClick } from "../../engine/mouse"; export default (e, target, rightClick) => { handleStopPropagation(e); setWorldPlay(false); rightClick && toggleRightClick(e.clientX, e.clientY); emitSelectionTarget(target, true); }; //# sourceMappingURL=handleTreeItemClick.js.map