mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-11-14 01:34:49 +01:00
fix: Bind mode
This commit is contained in:
@@ -596,14 +596,14 @@ export const getBindingStrategyForDraggingBindingElementEndpoints = (
|
|||||||
return {
|
return {
|
||||||
start: startDragged
|
start: startDragged
|
||||||
? {
|
? {
|
||||||
mode: "orbit",
|
mode: globalBindMode === "orbit" ? "orbit" : "inside",
|
||||||
element: enclosingFrame,
|
element: enclosingFrame,
|
||||||
focusPoint: globalPoint,
|
focusPoint: globalPoint,
|
||||||
}
|
}
|
||||||
: start,
|
: start,
|
||||||
end: endDragged
|
end: endDragged
|
||||||
? {
|
? {
|
||||||
mode: "orbit",
|
mode: globalBindMode === "orbit" ? "orbit" : "inside",
|
||||||
element: enclosingFrame,
|
element: enclosingFrame,
|
||||||
focusPoint: globalPoint,
|
focusPoint: globalPoint,
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user