Merge branch 'next' into refactor/infer-node-types

This commit is contained in:
moklick
2024-01-26 09:35:59 +01:00
28 changed files with 439 additions and 73 deletions
@@ -22,7 +22,7 @@ export type NodesSelectionProps<NodeType> = {
const selector = (s: ReactFlowState) => {
const selectedNodes = s.nodes.filter((n) => n.selected);
const { width, height, x, y } = getNodesBounds(selectedNodes, s.nodeOrigin);
const { width, height, x, y } = getNodesBounds(selectedNodes, { nodeOrigin: s.nodeOrigin });
return {
width,