feat: Bind to frame when frame-bound object hidden part is approached

This commit is contained in:
Mark Tolmacs
2025-10-21 18:28:44 +02:00
parent 7e10773ecf
commit 12c67386cf
2 changed files with 41 additions and 36 deletions

View File

@@ -596,15 +596,15 @@ export const getBindingStrategyForDraggingBindingElementEndpoints = (
return {
start: startDragged
? {
mode: "inside",
element: hoveredElement,
mode: "orbit",
element: enclosingFrame,
focusPoint: globalPoint,
}
: start,
end: endDragged
? {
mode: "inside",
element: hoveredElement,
mode: "orbit",
element: enclosingFrame,
focusPoint: globalPoint,
}
: end,