fix docs, fix line calculations, close #829

This commit is contained in:
Anton Lavrenov
2020-01-27 13:28:11 -05:00
parent f379beb968
commit 7f62ccf620
4 changed files with 50 additions and 1333 deletions

View File

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