ninegrid2 6.761.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.
@@ -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;
@@ -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;
@@ -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
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ninegrid2",
3
3
  "type": "module",
4
- "version": "6.761.0",
4
+ "version": "6.762.0",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "exports": {
@@ -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;