fix SVG-Edit/svgedit#268 error on dragging control point of arc
parent
85d6767578
commit
573544b41b
|
@ -785,7 +785,7 @@ export class Segment {
|
||||||
]
|
]
|
||||||
: [item.x += dx, item.y += dy];
|
: [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) {
|
if (this.next && this.next.ctrlpts) {
|
||||||
const next = this.next.item;
|
const next = this.next.item;
|
||||||
|
|
Loading…
Reference in New Issue