mirror of
https://github.com/konvajs/konva.git
synced 2026-01-23 21:34:50 +08:00
Fix wrong size calculations for Konva.Line with tension. fix #1030
This commit is contained in:
@@ -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]);
|
||||
|
||||
Reference in New Issue
Block a user