ninegrid2 6.718.0 → 6.720.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bundle.cjs.js +2 -2
- package/dist/bundle.esm.js +2 -2
- package/dist/nx/nxSplitter.js +2 -2
- package/package.json +1 -1
- package/src/nx/nxSplitter.js +2 -2
package/dist/bundle.cjs.js
CHANGED
|
@@ -121149,8 +121149,8 @@ class nxSplitter extends HTMLElement {
|
|
|
121149
121149
|
? e.clientX - prev.getBoundingClientRect().left
|
|
121150
121150
|
: e.clientY - prev.getBoundingClientRect().top;
|
|
121151
121151
|
|
|
121152
|
-
const min =
|
|
121153
|
-
const max = totalSize -
|
|
121152
|
+
const min = 0;
|
|
121153
|
+
const max = totalSize - 0;
|
|
121154
121154
|
delta = Math.max(min, Math.min(delta, max));
|
|
121155
121155
|
|
|
121156
121156
|
console.log(delta, dragRect);
|
package/dist/bundle.esm.js
CHANGED
|
@@ -121145,8 +121145,8 @@ class nxSplitter extends HTMLElement {
|
|
|
121145
121145
|
? e.clientX - prev.getBoundingClientRect().left
|
|
121146
121146
|
: e.clientY - prev.getBoundingClientRect().top;
|
|
121147
121147
|
|
|
121148
|
-
const min =
|
|
121149
|
-
const max = totalSize -
|
|
121148
|
+
const min = 0;
|
|
121149
|
+
const max = totalSize - 0;
|
|
121150
121150
|
delta = Math.max(min, Math.min(delta, max));
|
|
121151
121151
|
|
|
121152
121152
|
console.log(delta, dragRect);
|
package/dist/nx/nxSplitter.js
CHANGED
|
@@ -104,8 +104,8 @@ class nxSplitter extends HTMLElement {
|
|
|
104
104
|
? e.clientX - prev.getBoundingClientRect().left
|
|
105
105
|
: e.clientY - prev.getBoundingClientRect().top;
|
|
106
106
|
|
|
107
|
-
const min =
|
|
108
|
-
const max = totalSize -
|
|
107
|
+
const min = 0;
|
|
108
|
+
const max = totalSize - 0;
|
|
109
109
|
delta = Math.max(min, Math.min(delta, max));
|
|
110
110
|
|
|
111
111
|
console.log(delta, dragRect);
|
package/package.json
CHANGED
package/src/nx/nxSplitter.js
CHANGED
|
@@ -104,8 +104,8 @@ class nxSplitter extends HTMLElement {
|
|
|
104
104
|
? e.clientX - prev.getBoundingClientRect().left
|
|
105
105
|
: e.clientY - prev.getBoundingClientRect().top;
|
|
106
106
|
|
|
107
|
-
const min =
|
|
108
|
-
const max = totalSize -
|
|
107
|
+
const min = 0;
|
|
108
|
+
const max = totalSize - 0;
|
|
109
109
|
delta = Math.max(min, Math.min(delta, max));
|
|
110
110
|
|
|
111
111
|
console.log(delta, dragRect);
|