New element behavior

This commit is contained in:
Mark Tolmacs
2025-08-28 18:58:52 +02:00
parent ab6353b2fa
commit df8c98d946
2 changed files with 15 additions and 12 deletions

View File

@@ -1940,7 +1940,7 @@ const normalizeSelectedPoints = (
return nextPoints.length ? nextPoints : null;
};
export const pointDraggingUpdates = (
const pointDraggingUpdates = (
selectedPointsIndices: readonly number[],
deltaX: number,
deltaY: number,
@@ -1991,6 +1991,9 @@ export const pointDraggingUpdates = (
elementsMap,
elements,
app.state,
{
newArrow: !!app.state.newElement,
},
);
const originalStartGlobalPoint =