Fix tiny error in Path#smooth()

This commit is contained in:
Jürg Lehni 2011-03-14 16:18:12 +01:00
parent bfd43b27fa
commit c284b0837e

View file

@ -336,7 +336,7 @@ var Path = this.Path = PathItem.extend({
(knots[n].y + y[n - 1]) / 2);
}
}
if (closed && handleIn) {
if (this.closed && handleIn) {
var segment = this._segments[0];
segment.setHandleIn(handleIn.subtract(segment._point));
}