leafer-game 2.3.2 → 2.3.3
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/web.js +6 -2
- package/dist/web.min.js +1 -1
- package/dist/web.min.js.map +1 -1
- package/dist/web.module.js +6 -2
- package/dist/web.module.min.js +1 -1
- package/dist/web.module.min.js.map +1 -1
- package/package.json +12 -12
package/dist/web.module.js
CHANGED
|
@@ -4902,6 +4902,7 @@ const LeafHelper = {
|
|
|
4902
4902
|
updateComplex(_leaf) {},
|
|
4903
4903
|
checkComplex(_leaf) {},
|
|
4904
4904
|
updateFlowLayout(_leaf) {},
|
|
4905
|
+
listenPositionNode(_leaf) {},
|
|
4905
4906
|
updatePositionLayout(_leaf) {},
|
|
4906
4907
|
moveWorld(t, x, y = 0, isInnerPoint, transition) {
|
|
4907
4908
|
const local = isObject(x) ? Object.assign({}, x) : {
|
|
@@ -6161,7 +6162,10 @@ const LeafBounds = {
|
|
|
6161
6162
|
layout.resized = "inner";
|
|
6162
6163
|
}
|
|
6163
6164
|
if (layout.localBoxChanged) {
|
|
6164
|
-
if (this.__local)
|
|
6165
|
+
if (this.__local) {
|
|
6166
|
+
this.__updateLocalBoxBounds();
|
|
6167
|
+
if (data.__usePositionNode) LeafHelper.listenPositionNode(this);
|
|
6168
|
+
}
|
|
6165
6169
|
layout.localBoxChanged = undefined;
|
|
6166
6170
|
if (layout.strokeSpread && !layout.strokeChanged) layout.strokeChanged = layout.boxChanged ? true : 2;
|
|
6167
6171
|
if (layout.renderSpread && !layout.renderChanged) layout.renderChanged = layout.boxChanged ? true : 2;
|
|
@@ -7077,7 +7081,7 @@ class LeafLevelList {
|
|
|
7077
7081
|
}
|
|
7078
7082
|
}
|
|
7079
7083
|
|
|
7080
|
-
const version = "2.3.
|
|
7084
|
+
const version = "2.3.3";
|
|
7081
7085
|
|
|
7082
7086
|
if (typeof globalThis !== "undefined") {
|
|
7083
7087
|
const globalLeafer = globalThis.Leafer || (globalThis.Leafer = {});
|