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