mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-06 04:42:15 -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();
|
||||
} else {
|
||||
// otherwise create it from the result of split
|
||||
var end = segment2;
|
||||
segment2 = segment;
|
||||
res = new Curve(segment, end);
|
||||
this._segment2 = segment;
|
||||
res = new Curve(segment, segment2);
|
||||
}
|
||||
}
|
||||
return res;
|
||||
|
|
Loading…
Reference in a new issue