@moku-labs/game 0.7.0 → 0.7.1
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/index.mjs +2 -0
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -30350,6 +30350,7 @@ function createJsxApi(ctx, modules) {
|
|
|
30350
30350
|
state.components.set(definition.name, definition);
|
|
30351
30351
|
},
|
|
30352
30352
|
refreshAll: () => {
|
|
30353
|
+
for (const element of state.elements.values()) modules.layout.markMeasured(element);
|
|
30353
30354
|
for (const root of state.roots.values()) {
|
|
30354
30355
|
root.dirty = true;
|
|
30355
30356
|
root.needsSolve = true;
|
|
@@ -31715,6 +31716,7 @@ function createLayoutApi(ctx) {
|
|
|
31715
31716
|
markMeasured(state, element);
|
|
31716
31717
|
},
|
|
31717
31718
|
remeasure: (element) => remeasureShown(state, element, source),
|
|
31719
|
+
markMeasured: (element) => markMeasured(state, element),
|
|
31718
31720
|
place: (parent, children) => placeChildren(state, parent, children),
|
|
31719
31721
|
free: (element) => freeNode(state, element),
|
|
31720
31722
|
solve: (rootElement, size, lookup) => solveRoot(state, rootElement, size, lookup),
|