mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-04-14 16:40:58 -04:00
Compare commits
2 commits
9fbfd8680c
...
e4dd447a0b
Author | SHA1 | Date | |
---|---|---|---|
|
e4dd447a0b | ||
|
34ec5e4200 |
1 changed files with 2 additions and 4 deletions
|
@ -284,8 +284,7 @@ const getBindingStrategyForDraggingArrowEndpoints = (
|
||||||
zoom,
|
zoom,
|
||||||
)
|
)
|
||||||
: null // If binding is disabled and start is dragged, break all binds
|
: null // If binding is disabled and start is dragged, break all binds
|
||||||
:
|
: "keep";
|
||||||
"keep";
|
|
||||||
const end = endDragged
|
const end = endDragged
|
||||||
? isBindingEnabled
|
? isBindingEnabled
|
||||||
? getElligibleElementForBindingElement(
|
? getElligibleElementForBindingElement(
|
||||||
|
@ -296,8 +295,7 @@ const getBindingStrategyForDraggingArrowEndpoints = (
|
||||||
zoom,
|
zoom,
|
||||||
)
|
)
|
||||||
: null // If binding is disabled and end is dragged, break all binds
|
: null // If binding is disabled and end is dragged, break all binds
|
||||||
:
|
: "keep";
|
||||||
"keep";
|
|
||||||
|
|
||||||
return [start, end];
|
return [start, end];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Reference in a new issue