mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-04-14 16:40:58 -04:00
Fixed linter warnings
This commit is contained in:
parent
427ad41fad
commit
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