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.
- package/dist/bundle.cjs.js +2 -1
- package/dist/bundle.esm.js +2 -1
- package/dist/nx/nxSplitter.js +2 -1
- package/package.json +1 -1
- package/src/nx/nxSplitter.js +2 -1
package/dist/bundle.cjs.js
CHANGED
|
@@ -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
|
|
package/dist/bundle.esm.js
CHANGED
|
@@ -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
|
|
package/dist/nx/nxSplitter.js
CHANGED
|
@@ -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
package/src/nx/nxSplitter.js
CHANGED
|
@@ -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
|
|