This commit is contained in:
zsviczian 2024-06-13 18:55:17 +02:00 committed by GitHub
parent 16c0417f5b
commit 11ee139d5c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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);