Change how images are bound to on new arrow creation

This commit is contained in:
Mark Tolmacs 2025-08-02 10:34:31 +02:00
parent e3ad1f5935
commit 72a0fcda25
No known key found for this signature in database

View File

@ -425,8 +425,7 @@ const bindingStrategyForNewSimpleArrowEndpointDragging = (
// We are hovering another element with the end point // We are hovering another element with the end point
if (hovered) { if (hovered) {
const isInsideBinding = const isInsideBinding = globalBindMode === "inside";
globalBindMode === "inside" || isAlwaysInsideBinding(hovered);
current = { current = {
mode: isInsideBinding ? "inside" : "orbit", mode: isInsideBinding ? "inside" : "orbit",
element: hovered, element: hovered,