Ver código fonte

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 meses atrás
pai
commit
db2911c6c4
1 arquivos alterados com 2 adições e 0 exclusões
  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.