Bläddra i källkod

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
cheapster 3 månader sedan
förälder
incheckning
db2911c6c4
1 ändrade filer med 2 tillägg och 0 borttagningar
  1. 2 0
      packages/element/src/linearElementEditor.ts

+ 2 - 0
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.