chore(pane): handle nodes selection

This commit is contained in:
moklick
2025-10-30 14:01:46 +01:00
parent 07fbc7e34a
commit b298819062

View File

@@ -257,11 +257,14 @@ export function Pane({
store.setState({
userSelectionActive: false,
userSelectionRect: null,
nodesSelectionActive: selectedNodeIds.current.size > 0,
});
if (selectionInProgress.current) {
onSelectionEnd?.(event);
store.setState({
nodesSelectionActive: selectedNodeIds.current.size > 0,
});
}
};