xushiting 2 天之前
父節點
當前提交
02b1be8dc9
共有 1 個文件被更改,包括 3 次插入1 次删除
  1. 3 1
      src/graphic/Controls/MoveSVG.js

+ 3 - 1
src/graphic/Controls/MoveSVG.js

@@ -22,6 +22,8 @@ export default class MoveSVG {
 
     svg.points[3].x += dx;
     svg.points[3].y += dy;
+
+    svg.setControlAnglePoint();
   }
 
   // movePoint(position, svgId, pointIndex) {
@@ -94,7 +96,7 @@ export default class MoveSVG {
         return pointIndex;
       }
     }
-
+    svg.setControlAnglePoint();
     return pointIndex;
   }
 }