Skip to content

Commit 966d0e4

Browse files
committed
Fixed splineTo.
1 parent 4713b1b commit 966d0e4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

v3/src/paths/Path.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ var Path = new Class({
5151
// Creates a spline curve starting at the previous end point, using the given parameters
5252
splineTo: function (points)
5353
{
54-
points.shift(this.getEndPoint());
54+
points.unshift(this.getEndPoint());
5555

5656
return this.add(new SplineCurve(points));
5757
},

0 commit comments

Comments
 (0)