Stats unbonds arrows when used

This commit is contained in:
Mark Tolmacs 2025-04-02 21:09:57 +02:00
parent ccda36a0e3
commit eecabccf8d
8 changed files with 102 additions and 163 deletions

View file

@ -569,7 +569,7 @@ const isLinearElementSimple = (
linearElement: NonDeleted<ExcalidrawLinearElement>,
): boolean => linearElement.points.length < 3;
export const unbindLinearElement = (
const unbindLinearElement = (
linearElement: NonDeleted<ExcalidrawLinearElement>,
startOrEnd: "start" | "end",
): ExcalidrawBindableElement["id"] | null => {