Fix wrong size calculations for Konva.Line with tension. fix #1030

This commit is contained in:
Anton Lavrenov
2020-12-16 14:13:25 -05:00
parent 7b69e5b2f6
commit d5d6af43fa
4 changed files with 303 additions and 1335 deletions

View File

@@ -986,6 +986,9 @@ export const Util = {
p[n + 3],
tension
);
if (isNaN(cp[0])) {
continue;
}
allPoints.push(cp[0]);
allPoints.push(cp[1]);
allPoints.push(p[n]);