Stop pointerdown event from properties panel (#600)
This commit is contained in:
parent
632928f4f6
commit
19d59ec6f4
|
|
@ -108,8 +108,10 @@ export function createInputManager(editor: EditorState, container: HTMLElement,
|
||||||
const onPointerMove = (e: PointerEvent): void => {
|
const onPointerMove = (e: PointerEvent): void => {
|
||||||
if (!e.buttons) viewportPointerInteractionOngoing = false;
|
if (!e.buttons) viewportPointerInteractionOngoing = false;
|
||||||
|
|
||||||
const modifiers = makeModifiersBitfield(e);
|
if (viewportPointerInteractionOngoing) {
|
||||||
editor.instance.on_mouse_move(e.clientX, e.clientY, e.buttons, modifiers);
|
const modifiers = makeModifiersBitfield(e);
|
||||||
|
editor.instance.on_mouse_move(e.clientX, e.clientY, e.buttons, modifiers);
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
const onPointerDown = (e: PointerEvent): void => {
|
const onPointerDown = (e: PointerEvent): void => {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue