fix resetting nodes with width & height set not working

This commit is contained in:
peterkogo
2025-01-27 13:14:14 +01:00
parent 72b956f797
commit 55364e6298
3 changed files with 4 additions and 2 deletions
@@ -57,7 +57,7 @@
let draggable = $derived(_draggable ?? store.nodesDraggable);
let selectable = $derived(_selectable ?? store.elementsSelectable);
let connectable = $derived(_connectable ?? store.nodesConnectable);
let initialized = $derived(nodeHasDimensions(node));
let initialized = $derived(nodeHasDimensions(node) && !!node.internals.handleBounds);
function isInParentLookup(id: string) {
return store.parentLookup.has(id);