mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-19 02:48:12 +08:00
Improvements to the layer transform cage UX (#589)
* Allow input system to handle mousedown while dragging * Fix abort * Add apsect ratio * Make comment more explicit * Fix abort when dragging * Constrain when dragging edge
This commit is contained in:
committed by
Keavon Chambers
parent
239aa03453
commit
2ace16df0f
@@ -104,6 +104,7 @@ export function createInputManager(editor: EditorState, container: HTMLElement,
|
||||
|
||||
// Pointer events
|
||||
|
||||
// While any pointer button is already down, additional button down events are not reported, but they are sent as `pointermove` events and these are handled in the backend
|
||||
const onPointerMove = (e: PointerEvent): void => {
|
||||
if (!e.buttons) viewportPointerInteractionOngoing = false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user