ninegrid2 6.719.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.
@@ -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 = 8;
121153
- const max = totalSize - 8;
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);
@@ -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 = 8;
121149
- const max = totalSize - 8;
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);
@@ -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 = 8;
108
- const max = totalSize - 8;
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
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ninegrid2",
3
3
  "type": "module",
4
- "version": "6.719.0",
4
+ "version": "6.720.0",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "exports": {
@@ -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 = 8;
108
- const max = totalSize - 8;
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);