Merge pull request #5515 from xyflow/fix-parse-handles
Fix parse handles
This commit is contained in:
@@ -0,0 +1,7 @@
|
|||||||
|
---
|
||||||
|
'@xyflow/system': patch
|
||||||
|
'@xyflow/react': patch
|
||||||
|
'@xyflow/svelte': patch
|
||||||
|
---
|
||||||
|
|
||||||
|
Fix id of static handles not being parsed
|
||||||
@@ -82,6 +82,7 @@ function parseHandles(userNode: NodeBase, internalNode?: InternalNodeBase): Node
|
|||||||
|
|
||||||
for (const handle of userNode.handles) {
|
for (const handle of userNode.handles) {
|
||||||
const handleBounds = {
|
const handleBounds = {
|
||||||
|
id: handle.id,
|
||||||
width: handle.width ?? 1,
|
width: handle.width ?? 1,
|
||||||
height: handle.height ?? 1,
|
height: handle.height ?? 1,
|
||||||
nodeId: userNode.id,
|
nodeId: userNode.id,
|
||||||
|
|||||||
Reference in New Issue
Block a user