mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-08 05:42:07 -05:00
arcBy recursively calls itself rather than arcTo.
This commit is contained in:
parent
502c76dbce
commit
3e520efe5f
1 changed files with 1 additions and 1 deletions
|
@ -2179,7 +2179,7 @@ var Path = this.Path = PathItem.extend(/** @lends Path# */{
|
||||||
throughVector = Point.read(throughVector);
|
throughVector = Point.read(throughVector);
|
||||||
toVector = Point.read(toVector);
|
toVector = Point.read(toVector);
|
||||||
var current = getCurrentSegment(this)._point;
|
var current = getCurrentSegment(this)._point;
|
||||||
this.arcBy(current.add(throughVector), current.add(toVector));
|
this.arcTo(current.add(throughVector), current.add(toVector));
|
||||||
},
|
},
|
||||||
|
|
||||||
closePath: function() {
|
closePath: function() {
|
||||||
|
|
Loading…
Reference in a new issue