ninegrid2 6.697.0 → 6.699.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
|
@@ -121151,10 +121151,10 @@ class nxSplitter extends HTMLElement {
|
|
|
121151
121151
|
prev.style.width = `${delta}px`;
|
|
121152
121152
|
|
|
121153
121153
|
// next 너비는 전체 - prev의 offset - delta - splitter
|
|
121154
|
-
next.style.width = `${parentRect.width -
|
|
121154
|
+
next.style.width = `${parentRect.width - prevRect.left - delta - splitterSize}px`;
|
|
121155
121155
|
} else {
|
|
121156
121156
|
prev.style.height = `${delta}px`;
|
|
121157
|
-
next.style.height = `${parentRect.height -
|
|
121157
|
+
next.style.height = `${parentRect.height - prevRect.top - delta - splitterSize}px`;
|
|
121158
121158
|
}
|
|
121159
121159
|
|
|
121160
121160
|
console.log(e.clientX, prevRect.left, delta, prev.style.width);
|
package/dist/bundle.esm.js
CHANGED
|
@@ -121147,10 +121147,10 @@ class nxSplitter extends HTMLElement {
|
|
|
121147
121147
|
prev.style.width = `${delta}px`;
|
|
121148
121148
|
|
|
121149
121149
|
// next 너비는 전체 - prev의 offset - delta - splitter
|
|
121150
|
-
next.style.width = `${parentRect.width -
|
|
121150
|
+
next.style.width = `${parentRect.width - prevRect.left - delta - splitterSize}px`;
|
|
121151
121151
|
} else {
|
|
121152
121152
|
prev.style.height = `${delta}px`;
|
|
121153
|
-
next.style.height = `${parentRect.height -
|
|
121153
|
+
next.style.height = `${parentRect.height - prevRect.top - delta - splitterSize}px`;
|
|
121154
121154
|
}
|
|
121155
121155
|
|
|
121156
121156
|
console.log(e.clientX, prevRect.left, delta, prev.style.width);
|
package/dist/nx/nxSplitter.js
CHANGED
|
@@ -136,10 +136,10 @@ class nxSplitter extends HTMLElement {
|
|
|
136
136
|
prev.style.width = `${delta}px`;
|
|
137
137
|
|
|
138
138
|
// next 너비는 전체 - prev의 offset - delta - splitter
|
|
139
|
-
next.style.width = `${parentRect.width -
|
|
139
|
+
next.style.width = `${parentRect.width - prevRect.left - delta - splitterSize}px`;
|
|
140
140
|
} else {
|
|
141
141
|
prev.style.height = `${delta}px`;
|
|
142
|
-
next.style.height = `${parentRect.height -
|
|
142
|
+
next.style.height = `${parentRect.height - prevRect.top - delta - splitterSize}px`;
|
|
143
143
|
}
|
|
144
144
|
|
|
145
145
|
console.log(e.clientX, prevRect.left, delta, prev.style.width);
|
package/package.json
CHANGED
package/src/nx/nxSplitter.js
CHANGED
|
@@ -136,10 +136,10 @@ class nxSplitter extends HTMLElement {
|
|
|
136
136
|
prev.style.width = `${delta}px`;
|
|
137
137
|
|
|
138
138
|
// next 너비는 전체 - prev의 offset - delta - splitter
|
|
139
|
-
next.style.width = `${parentRect.width -
|
|
139
|
+
next.style.width = `${parentRect.width - prevRect.left - delta - splitterSize}px`;
|
|
140
140
|
} else {
|
|
141
141
|
prev.style.height = `${delta}px`;
|
|
142
|
-
next.style.height = `${parentRect.height -
|
|
142
|
+
next.style.height = `${parentRect.height - prevRect.top - delta - splitterSize}px`;
|
|
143
143
|
}
|
|
144
144
|
|
|
145
145
|
console.log(e.clientX, prevRect.left, delta, prev.style.width);
|