fix SVG-Edit/svgedit#268 error on dragging control point of arc
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user