Merge pull request #4010 from xyflow/fix-cancel-connection

Connections can be correctly cancelled
This commit is contained in:
Moritz Klack
2024-03-14 14:55:28 +01:00
committed by GitHub
3 changed files with 9 additions and 1 deletions
@@ -101,7 +101,8 @@
onConnectEnd: (event) => {
$onConnectEndAction?.(event);
},
getTransform: () => [$viewport.x, $viewport.y, $viewport.zoom]
getTransform: () => [$viewport.x, $viewport.y, $viewport.zoom],
getConnectionStartHandle: () => $connection.startHandle
});
}
}