Skip to content

Commit e294ab9

Browse files
committed
fix deepscan issue
1 parent 593235d commit e294ab9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Sortable.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ let dragEl,
235235
insideHorizontally = x >= (rect.left - threshold) && x <= (rect.right + threshold),
236236
insideVertically = y >= (rect.top - threshold) && y <= (rect.bottom + threshold);
237237

238-
if (threshold && insideHorizontally && insideVertically) {
238+
if (insideHorizontally && insideVertically) {
239239
return (ret = sortable);
240240
}
241241
});

0 commit comments

Comments
 (0)