浏览代码

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 月之前
父节点
当前提交
db2911c6c4
共有 1 个文件被更改,包括 2 次插入0 次删除
  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.