🎥 Make videos programmatically with React
fix basic scenario
Jonny Burgerc2a1e7bcb014
diff --git a/packages/shapes/src/utils/join-points.ts b/packages/shapes/src/utils/join-points.tsindex 3ee8563f82..b507ab8d81 100644--- a/packages/shapes/src/utils/join-points.ts+++ b/packages/shapes/src/utils/join-points.ts@@ -67,6 +67,14 @@ export const joinPoints = (}if (edgeRoundness === null) {+ if (cornerRadius === 0) {+ return {+ type: 'L',+ x,+ y,+ };+ }+const prevVectorMinusRadius = shortenVector(prevVector, cornerRadius);const prevVectorLenght = scaleVectorToLength(prevVector, cornerRadius);const nextVectorMinusRadius = scaleVectorToLength(