fix calculations

This commit is contained in:
Anton Lavrenov
2020-01-27 13:41:18 -05:00
parent 7f62ccf620
commit e112c14852
4 changed files with 8 additions and 5 deletions

View File

@@ -199,8 +199,8 @@ export class Line<Config extends LineConfig = LineConfig> extends Shape<
points[0],
points[1],
...this._getTensionPoints(),
points[points.length - 1],
points[points.length - 2]
points[points.length - 2],
points[points.length - 1]
];
} else {
points = this.points();