mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-11-01 11:24:57 +01:00
feat: Bind to frame when frame-bound object hidden part is approached
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user