arcBy recursively calls itself rather than arcTo.

This commit is contained in:
NickNorth 2013-05-26 20:09:26 +01:00
parent 502c76dbce
commit 3e520efe5f

View file

@ -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() {