ninegrid2 6.698.0 → 6.700.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
|
@@ -121145,7 +121145,7 @@ class nxSplitter extends HTMLElement {
|
|
|
121145
121145
|
? e.clientX - prevRect.left
|
|
121146
121146
|
: e.clientY - prevRect.top;
|
|
121147
121147
|
|
|
121148
|
-
console.log(e.clientX, prevRect.left, delta);
|
|
121148
|
+
console.log(e.clientX, prevRect.left, delta, splitterSize);
|
|
121149
121149
|
|
|
121150
121150
|
if (this.#mode === "h") {
|
|
121151
121151
|
prev.style.width = `${delta}px`;
|
|
@@ -121157,7 +121157,7 @@ class nxSplitter extends HTMLElement {
|
|
|
121157
121157
|
next.style.height = `${parentRect.height - prevRect.top - delta - splitterSize}px`;
|
|
121158
121158
|
}
|
|
121159
121159
|
|
|
121160
|
-
console.log(
|
|
121160
|
+
console.log(prev.style.width, next.style.width);
|
|
121161
121161
|
};
|
|
121162
121162
|
|
|
121163
121163
|
|
package/dist/bundle.esm.js
CHANGED
|
@@ -121141,7 +121141,7 @@ class nxSplitter extends HTMLElement {
|
|
|
121141
121141
|
? e.clientX - prevRect.left
|
|
121142
121142
|
: e.clientY - prevRect.top;
|
|
121143
121143
|
|
|
121144
|
-
console.log(e.clientX, prevRect.left, delta);
|
|
121144
|
+
console.log(e.clientX, prevRect.left, delta, splitterSize);
|
|
121145
121145
|
|
|
121146
121146
|
if (this.#mode === "h") {
|
|
121147
121147
|
prev.style.width = `${delta}px`;
|
|
@@ -121153,7 +121153,7 @@ class nxSplitter extends HTMLElement {
|
|
|
121153
121153
|
next.style.height = `${parentRect.height - prevRect.top - delta - splitterSize}px`;
|
|
121154
121154
|
}
|
|
121155
121155
|
|
|
121156
|
-
console.log(
|
|
121156
|
+
console.log(prev.style.width, next.style.width);
|
|
121157
121157
|
};
|
|
121158
121158
|
|
|
121159
121159
|
|
package/dist/nx/nxSplitter.js
CHANGED
|
@@ -130,7 +130,7 @@ class nxSplitter extends HTMLElement {
|
|
|
130
130
|
? e.clientX - prevRect.left
|
|
131
131
|
: e.clientY - prevRect.top;
|
|
132
132
|
|
|
133
|
-
console.log(e.clientX, prevRect.left, delta);
|
|
133
|
+
console.log(e.clientX, prevRect.left, delta, splitterSize);
|
|
134
134
|
|
|
135
135
|
if (this.#mode === "h") {
|
|
136
136
|
prev.style.width = `${delta}px`;
|
|
@@ -142,7 +142,7 @@ class nxSplitter extends HTMLElement {
|
|
|
142
142
|
next.style.height = `${parentRect.height - prevRect.top - delta - splitterSize}px`;
|
|
143
143
|
}
|
|
144
144
|
|
|
145
|
-
console.log(
|
|
145
|
+
console.log(prev.style.width, next.style.width);
|
|
146
146
|
};
|
|
147
147
|
|
|
148
148
|
|
package/package.json
CHANGED
package/src/nx/nxSplitter.js
CHANGED
|
@@ -130,7 +130,7 @@ class nxSplitter extends HTMLElement {
|
|
|
130
130
|
? e.clientX - prevRect.left
|
|
131
131
|
: e.clientY - prevRect.top;
|
|
132
132
|
|
|
133
|
-
console.log(e.clientX, prevRect.left, delta);
|
|
133
|
+
console.log(e.clientX, prevRect.left, delta, splitterSize);
|
|
134
134
|
|
|
135
135
|
if (this.#mode === "h") {
|
|
136
136
|
prev.style.width = `${delta}px`;
|
|
@@ -142,7 +142,7 @@ class nxSplitter extends HTMLElement {
|
|
|
142
142
|
next.style.height = `${parentRect.height - prevRect.top - delta - splitterSize}px`;
|
|
143
143
|
}
|
|
144
144
|
|
|
145
|
-
console.log(
|
|
145
|
+
console.log(prev.style.width, next.style.width);
|
|
146
146
|
};
|
|
147
147
|
|
|
148
148
|
|