mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-09-09 12:55:36 -04:00
Change how images are bound to on new arrow creation
This commit is contained in:
parent
e3ad1f5935
commit
72a0fcda25
@ -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,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user