chore(pane): handle nodes selection
This commit is contained in:
@@ -257,11 +257,14 @@ export function Pane({
|
|||||||
store.setState({
|
store.setState({
|
||||||
userSelectionActive: false,
|
userSelectionActive: false,
|
||||||
userSelectionRect: null,
|
userSelectionRect: null,
|
||||||
nodesSelectionActive: selectedNodeIds.current.size > 0,
|
|
||||||
});
|
});
|
||||||
|
|
||||||
if (selectionInProgress.current) {
|
if (selectionInProgress.current) {
|
||||||
onSelectionEnd?.(event);
|
onSelectionEnd?.(event);
|
||||||
|
|
||||||
|
store.setState({
|
||||||
|
nodesSelectionActive: selectedNodeIds.current.size > 0,
|
||||||
|
});
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user