mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-08 05:42:07 -05:00
Fix overeager refactoring in c77165be3a
This commit is contained in:
parent
fee3a90329
commit
72f9705615
1 changed files with 2 additions and 3 deletions
|
@ -501,9 +501,8 @@ var Curve = Base.extend(/** @lends Curve# */{
|
||||||
res = this.getNext();
|
res = this.getNext();
|
||||||
} else {
|
} else {
|
||||||
// otherwise create it from the result of split
|
// otherwise create it from the result of split
|
||||||
var end = segment2;
|
this._segment2 = segment;
|
||||||
segment2 = segment;
|
res = new Curve(segment, segment2);
|
||||||
res = new Curve(segment, end);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return res;
|
return res;
|
||||||
|
|
Loading…
Reference in a new issue