From db2911c6c4c0fa1cc0fe6e2d5e62195d5fbc6612 Mon Sep 17 00:00:00 2001 From: cheapster <134545312+Cheapstar@users.noreply.github.com> Date: Tue, 27 May 2025 01:04:41 +0530 Subject: [PATCH] fix: ghost point issue when moving a shape after dragging a point in the line editor (#9530) fix: ghost point issue when moving a shape after dragging a point in the line editor --- packages/element/src/linearElementEditor.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/element/src/linearElementEditor.ts b/packages/element/src/linearElementEditor.ts index ca3d60c63..e282535c4 100644 --- a/packages/element/src/linearElementEditor.ts +++ b/packages/element/src/linearElementEditor.ts @@ -551,6 +551,8 @@ export class LinearElementEditor { return { ...editingLinearElement, ...bindings, + segmentMidPointHoveredCoords: null, + hoverPointIndex: -1, // if clicking without previously dragging a point(s), and not holding // shift, deselect all points except the one clicked. If holding shift, // toggle the point.