mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2025-08-03 21:08:18 +00:00
Stop pointerdown event from properties panel (#600)
This commit is contained in:
parent
632928f4f6
commit
19d59ec6f4
1 changed files with 4 additions and 2 deletions
|
@ -108,8 +108,10 @@ export function createInputManager(editor: EditorState, container: HTMLElement,
|
|||
const onPointerMove = (e: PointerEvent): void => {
|
||||
if (!e.buttons) viewportPointerInteractionOngoing = false;
|
||||
|
||||
const modifiers = makeModifiersBitfield(e);
|
||||
editor.instance.on_mouse_move(e.clientX, e.clientY, e.buttons, modifiers);
|
||||
if (viewportPointerInteractionOngoing) {
|
||||
const modifiers = makeModifiersBitfield(e);
|
||||
editor.instance.on_mouse_move(e.clientX, e.clientY, e.buttons, modifiers);
|
||||
}
|
||||
};
|
||||
|
||||
const onPointerDown = (e: PointerEvent): void => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue