refactor(node/internals): cleanup

This commit is contained in:
moklick
2024-04-02 20:15:38 +02:00
parent 67d979985d
commit e409939234
2 changed files with 30 additions and 30 deletions
+1 -2
View File
@@ -19,7 +19,6 @@ import type {
Edge,
EdgeSelectionChange,
NodeSelectionChange,
NodePositionChange,
UnselectNodesAndEdgesParams,
FitViewOptions,
InternalNode,
@@ -99,7 +98,7 @@ const createRFStore = ({
return;
}
updateAbsolutePositions(nodeLookup, nodeOrigin);
updateAbsolutePositions(nodeLookup, { nodeOrigin });
// we call fitView once initially after all dimensions are set
let nextFitViewDone = fitViewDone;