make sure onSelectionEnd is always fired
This commit is contained in:
@@ -163,6 +163,7 @@ export function Pane({
|
||||
resetSelectedElements();
|
||||
|
||||
onSelectionStart?.(event);
|
||||
selectionInProgress.current = true;
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@@ -126,6 +126,7 @@
|
||||
store.unselectNodesAndEdges();
|
||||
|
||||
onselectionstart?.(event);
|
||||
selectionInProgress = true;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user