chore(system/extends): cleanup

This commit is contained in:
moklick
2024-09-02 17:35:44 +02:00
parent c5988af784
commit aa248af495
2 changed files with 11 additions and 20 deletions
+1 -5
View File
@@ -289,10 +289,6 @@ const createStore = ({
setNodeExtent: (nodeExtent) => {
const { nodes, nodeLookup, parentLookup, nodeOrigin, elevateNodesOnSelect } = get();
set({
nodeExtent,
});
adoptUserNodes(nodes, nodeLookup, parentLookup, {
nodeOrigin,
nodeExtent,
@@ -300,7 +296,7 @@ const createStore = ({
checkEquality: false,
});
set({ nodes });
set({ nodeExtent });
},
panBy: (delta): Promise<boolean> => {
const { transform, width, height, panZoom, translateExtent } = get();