diff --git a/editor/path.js b/editor/path.js index 12912c06..adfb01c5 100644 --- a/editor/path.js +++ b/editor/path.js @@ -785,7 +785,7 @@ export class Segment { ] : [item.x += dx, item.y += dy]; - replacePathSeg(this.type, this.index, curPts); + replacePathSeg(this.type, this.index, this.type === 10 ? ptObjToArr(this.type, item) : curPts); //type 10 means ARC if (this.next && this.next.ctrlpts) { const next = this.next.item;