Skip to content

Commit

Permalink
Fix #78 - arguments to this.point.
Browse files Browse the repository at this point in the history
  • Loading branch information
mbostock committed Aug 20, 2016
1 parent 8248b81 commit ca050b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/curve/catmullRom.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ CatmullRom.prototype = {
lineEnd: function() {
switch (this._point) {
case 2: this._context.lineTo(this._x2, this._y2); break;
case 3: this.point(this, this._x2, this._y2); break;
case 3: this.point(this._x2, this._y2); break;
}
if (this._line || (this._line !== 0 && this._point === 1)) this._context.closePath();
this._line = 1 - this._line;
Expand Down

0 comments on commit ca050b9

Please sign in to comment.