mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-09-18 15:00:39 +02:00
lint
This commit is contained in:
@@ -828,7 +828,7 @@ const bindingBorderTest = (
|
|||||||
{ x, y }: { x: number; y: number },
|
{ x, y }: { x: number; y: number },
|
||||||
app: AppClassProperties,
|
app: AppClassProperties,
|
||||||
): boolean => {
|
): boolean => {
|
||||||
if(!element || !element.width || !element.height) {
|
if (!element || !element.width || !element.height) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
const threshold = maxBindingGap(element, element.width, element.height);
|
const threshold = maxBindingGap(element, element.width, element.height);
|
||||||
|
Reference in New Issue
Block a user