mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-07 13:22: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);
|
||||
toVector = Point.read(toVector);
|
||||
var current = getCurrentSegment(this)._point;
|
||||
this.arcBy(current.add(throughVector), current.add(toVector));
|
||||
this.arcTo(current.add(throughVector), current.add(toVector));
|
||||
},
|
||||
|
||||
closePath: function() {
|
||||
|
|
Loading…
Reference in a new issue