ninegrid2 6.760.0 → 6.762.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 +6 -0
- package/dist/bundle.esm.js +6 -0
- package/dist/nx/nxSplitter.js +1 -1
- package/package.json +1 -1
- package/src/nx/nxSplitter.js +1 -1
package/dist/bundle.cjs.js
CHANGED
|
@@ -121207,6 +121207,12 @@ class nxSplitter extends HTMLElement {
|
|
|
121207
121207
|
|
|
121208
121208
|
// 현재 비율 계산
|
|
121209
121209
|
const prevRatio = currentTotal ? prevSize / currentTotal : 0.5;
|
|
121210
|
+
//const prevRatio = parentSize ? prevSize / parentSize : 0.5;
|
|
121211
|
+
//const nextRatio = 1 - prevRatio;
|
|
121212
|
+
|
|
121213
|
+
// currentTotal : parentSize = prevSize : x
|
|
121214
|
+
// 새로운 available 크기
|
|
121215
|
+
//const available = parentSize - splitterSize;
|
|
121210
121216
|
|
|
121211
121217
|
const newPrevSize = parentSize * prevSize / currentTotal;
|
|
121212
121218
|
const newNextSize = (prevSize + nextSize) - newPrevSize;
|
package/dist/bundle.esm.js
CHANGED
|
@@ -121203,6 +121203,12 @@ class nxSplitter extends HTMLElement {
|
|
|
121203
121203
|
|
|
121204
121204
|
// 현재 비율 계산
|
|
121205
121205
|
const prevRatio = currentTotal ? prevSize / currentTotal : 0.5;
|
|
121206
|
+
//const prevRatio = parentSize ? prevSize / parentSize : 0.5;
|
|
121207
|
+
//const nextRatio = 1 - prevRatio;
|
|
121208
|
+
|
|
121209
|
+
// currentTotal : parentSize = prevSize : x
|
|
121210
|
+
// 새로운 available 크기
|
|
121211
|
+
//const available = parentSize - splitterSize;
|
|
121206
121212
|
|
|
121207
121213
|
const newPrevSize = parentSize * prevSize / currentTotal;
|
|
121208
121214
|
const newNextSize = (prevSize + nextSize) - newPrevSize;
|
package/dist/nx/nxSplitter.js
CHANGED
|
@@ -225,7 +225,7 @@ class nxSplitter extends HTMLElement {
|
|
|
225
225
|
|
|
226
226
|
// currentTotal : parentSize = prevSize : x
|
|
227
227
|
// 새로운 available 크기
|
|
228
|
-
const available = parentSize - splitterSize;
|
|
228
|
+
//const available = parentSize - splitterSize;
|
|
229
229
|
|
|
230
230
|
const newPrevSize = parentSize * prevSize / currentTotal;
|
|
231
231
|
const newNextSize = (prevSize + nextSize) - newPrevSize;
|
package/package.json
CHANGED
package/src/nx/nxSplitter.js
CHANGED
|
@@ -225,7 +225,7 @@ class nxSplitter extends HTMLElement {
|
|
|
225
225
|
|
|
226
226
|
// currentTotal : parentSize = prevSize : x
|
|
227
227
|
// 새로운 available 크기
|
|
228
|
-
const available = parentSize - splitterSize;
|
|
228
|
+
//const available = parentSize - splitterSize;
|
|
229
229
|
|
|
230
230
|
const newPrevSize = parentSize * prevSize / currentTotal;
|
|
231
231
|
const newNextSize = (prevSize + nextSize) - newPrevSize;
|