mirror of
https://github.com/excalidraw/excalidraw
synced 2025-07-25 13:58:22 +08: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