From 3e520efe5fea30e451a08b5a45a06dd57637fd7d Mon Sep 17 00:00:00 2001 From: NickNorth Date: Sun, 26 May 2013 20:09:26 +0100 Subject: [PATCH] arcBy recursively calls itself rather than arcTo. --- src/path/Path.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/path/Path.js b/src/path/Path.js index de5afa2c..961fa3f4 100644 --- a/src/path/Path.js +++ b/src/path/Path.js @@ -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() {