We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c0e2b96 commit a8c09a9Copy full SHA for a8c09a9
packages/core/src/components/Edges/utils/smoothstep.ts
@@ -85,8 +85,8 @@ function getPoints({
85
86
// opposite handle positions, default case
87
if (sourceDir[dirAccessor] * targetDir[dirAccessor] === -1) {
88
- centerX = center.x || defaultCenterX
89
- centerY = center.y || defaultCenterY
+ centerX = center.x ?? defaultCenterX
+ centerY = center.y ?? defaultCenterY
90
// --->
91
// |
92
// >---
0 commit comments