Merge branch 'xyflow' into feat/ssr

This commit is contained in:
Moritz Klack
2023-10-31 14:12:52 +01:00
committed by GitHub
10 changed files with 300 additions and 77 deletions
@@ -111,6 +111,14 @@
};
});
// Update width & height on resize
$: {
if (clientWidth !== undefined && clientHeight !== undefined) {
store.width.set(clientWidth);
store.height.set(clientHeight);
}
}
// this updates the store for simple changes
// where the prop names equals the store name
$: {