@interactjs/utils
Advanced tools
Comparing version 1.8.0-alpha.7 to 1.8.0-rc.0
{ | ||
"name": "@interactjs/utils", | ||
"version": "1.8.0-alpha.7", | ||
"version": "1.8.0-rc.0", | ||
"license": "MIT", | ||
"devDependencies": { | ||
"@interactjs/_dev": "1.8.0-alpha.7" | ||
"@interactjs/_dev": "1.8.0-rc.0" | ||
}, | ||
@@ -8,0 +8,0 @@ "publishConfig": { |
@@ -52,4 +52,4 @@ import { closest, getElementRect, parentNode } from "./domUtils.js"; | ||
rect.y = rect.top || 0; | ||
rect.width = rect.width || rect.right - rect.x; | ||
rect.height = rect.height || rect.bottom - rect.y; | ||
rect.width = rect.width || rect.right || 0 - rect.x; | ||
rect.height = rect.height || rect.bottom || 0 - rect.y; | ||
} | ||
@@ -56,0 +56,0 @@ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
142347