fix: arrow binding behaving unexpectedly on pointerup (#9010)

* fix: arrow binding behaving unexpectedly on pointerup

* update snaps
This commit is contained in:
David Luzar 2025-01-14 19:36:47 +01:00 committed by GitHub
parent 00b5b0a0ca
commit 46f42ef8d7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 89 additions and 107 deletions

View file

@ -504,12 +504,6 @@ export const bindLinearElement = (
}),
});
}
// update bound elements to make sure the binding tips are in sync with
// the normalized gap from above
if (!isElbowArrow(linearElement)) {
updateBoundElements(hoveredElement, elementsMap);
}
};
// Don't bind both ends of a simple segment