Comparing version 0.0.9 to 0.0.10
{ | ||
"name": "azdom", | ||
"version": "0.0.9", | ||
"version": "0.0.10", | ||
"description": "A DOM manager library.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -48,4 +48,2 @@ export const dndState = { | ||
export const isOutside = function (x, y, bcr) { | ||
// console.log(x, y, document.body.scrollLeft, document.body.scrollTop, document.documentElement.scrollLeft, document.documentElement.scrollTop); | ||
// _show(bcr); | ||
return ( | ||
@@ -72,3 +70,3 @@ x <= bcr.left + getDocScrollLeft() || | ||
if (s.bottom >= t.top && s.right >= t.left && s.top <= t.bottom && s.left <= t.right) { | ||
if (s.bottom > t.top && s.right > t.left && s.top < t.bottom && s.left < t.right) { | ||
ret += dndState.touch; | ||
@@ -75,0 +73,0 @@ } |
18017
489