mirror of
https://github.com/konvajs/konva.git
synced 2026-01-22 21:02:26 +08:00
fix calculations
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user