fixed bug with expanding parent, made adjustments to evaluateNodePosition

This commit is contained in:
peterkogo
2024-04-16 13:19:44 +02:00
parent 81bdaf6b68
commit 714d30b63f
6 changed files with 72 additions and 64 deletions
+2 -2
View File
@@ -7,7 +7,7 @@ import {
panBy as panBySystem,
updateNodeInternals as updateNodeInternalsSystem,
updateConnectionLookup,
handleParentExpand,
handleExpandParent,
NodeChange,
EdgeSelectionChange,
NodeSelectionChange,
@@ -155,7 +155,7 @@ const createRFStore = ({
});
if (expandParentNodes.length > 0) {
const parentExpandChanges = handleParentExpand(expandParentNodes, nodeLookup, parentLookup);
const parentExpandChanges = handleExpandParent(expandParentNodes, nodeLookup, parentLookup);
changes.push(...parentExpandChanges);
}