Merge branch 'main' into migrate/svelte5

This commit is contained in:
peterkogo
2024-12-10 12:13:02 +01:00
17 changed files with 49 additions and 47 deletions
@@ -293,11 +293,10 @@ export function useSvelteFlow(): {
: nodeToUse.position;
const nodeWithPosition = {
id: nodeToUse.id,
...nodeToUse,
position,
width: nodeToUse.measured?.width ?? nodeToUse.width,
height: nodeToUse.measured?.height ?? nodeToUse.height,
data: nodeToUse.data
height: nodeToUse.measured?.height ?? nodeToUse.height
};
return nodeToRect(nodeWithPosition);