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