ninegrid2 6.762.0 → 6.765.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.
@@ -121215,7 +121215,8 @@ class nxSplitter extends HTMLElement {
121215
121215
  //const available = parentSize - splitterSize;
121216
121216
 
121217
121217
  const newPrevSize = parentSize * prevSize / currentTotal;
121218
- const newNextSize = (prevSize + nextSize) - newPrevSize;
121218
+ //const newNextSize = (prevSize + nextSize) - newPrevSize;
121219
+ const newNextSize = parentSize * nextSize / currentTotal;
121219
121220
 
121220
121221
 
121221
121222
 
@@ -121211,7 +121211,8 @@ class nxSplitter extends HTMLElement {
121211
121211
  //const available = parentSize - splitterSize;
121212
121212
 
121213
121213
  const newPrevSize = parentSize * prevSize / currentTotal;
121214
- const newNextSize = (prevSize + nextSize) - newPrevSize;
121214
+ //const newNextSize = (prevSize + nextSize) - newPrevSize;
121215
+ const newNextSize = parentSize * nextSize / currentTotal;
121215
121216
 
121216
121217
 
121217
121218
 
@@ -228,7 +228,8 @@ class nxSplitter extends HTMLElement {
228
228
  //const available = parentSize - splitterSize;
229
229
 
230
230
  const newPrevSize = parentSize * prevSize / currentTotal;
231
- const newNextSize = (prevSize + nextSize) - newPrevSize;
231
+ //const newNextSize = (prevSize + nextSize) - newPrevSize;
232
+ const newNextSize = parentSize * nextSize / currentTotal;
232
233
 
233
234
 
234
235
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ninegrid2",
3
3
  "type": "module",
4
- "version": "6.762.0",
4
+ "version": "6.765.0",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "exports": {
@@ -228,7 +228,8 @@ class nxSplitter extends HTMLElement {
228
228
  //const available = parentSize - splitterSize;
229
229
 
230
230
  const newPrevSize = parentSize * prevSize / currentTotal;
231
- const newNextSize = (prevSize + nextSize) - newPrevSize;
231
+ //const newNextSize = (prevSize + nextSize) - newPrevSize;
232
+ const newNextSize = parentSize * nextSize / currentTotal;
232
233
 
233
234
 
234
235