Selaa lähdekoodia

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 kuukautta sitten
vanhempi
commit
db2911c6c4
1 muutettua tiedostoa jossa 2 lisäystä ja 0 poistoa
  1. 2 0
      packages/element/src/linearElementEditor.ts

+ 2 - 0
packages/element/src/linearElementEditor.ts

@@ -551,6 +551,8 @@ export class LinearElementEditor {
     return {
     return {
       ...editingLinearElement,
       ...editingLinearElement,
       ...bindings,
       ...bindings,
+      segmentMidPointHoveredCoords: null,
+      hoverPointIndex: -1,
       // if clicking without previously dragging a point(s), and not holding
       // if clicking without previously dragging a point(s), and not holding
       // shift, deselect all points except the one clicked. If holding shift,
       // shift, deselect all points except the one clicked. If holding shift,
       // toggle the point.
       // toggle the point.