refactor(absPositions): pass nodeExtent

This commit is contained in:
moklick
2024-09-05 14:37:04 +02:00
parent f82cfe6c27
commit 58c4f2bcd3
+1 -1
View File
@@ -112,7 +112,7 @@ const createStore = ({
return;
}
updateAbsolutePositions(nodeLookup, parentLookup, { nodeOrigin });
updateAbsolutePositions(nodeLookup, parentLookup, { nodeOrigin, nodeExtent });
if (params.triggerFitView) {
// we call fitView once initially after all dimensions are set