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.js
CHANGED
|
@@ -4597,6 +4597,7 @@ var LeaferUI = function(exports) {
|
|
|
4597
4597
|
updateComplex(_leaf) {},
|
|
4598
4598
|
checkComplex(_leaf) {},
|
|
4599
4599
|
updateFlowLayout(_leaf) {},
|
|
4600
|
+
listenPositionNode(_leaf) {},
|
|
4600
4601
|
updatePositionLayout(_leaf) {},
|
|
4601
4602
|
moveWorld(t, x, y = 0, isInnerPoint, transition) {
|
|
4602
4603
|
const local = isObject(x) ? Object.assign({}, x) : {
|
|
@@ -5757,7 +5758,10 @@ var LeaferUI = function(exports) {
|
|
|
5757
5758
|
layout.resized = "inner";
|
|
5758
5759
|
}
|
|
5759
5760
|
if (layout.localBoxChanged) {
|
|
5760
|
-
if (this.__local)
|
|
5761
|
+
if (this.__local) {
|
|
5762
|
+
this.__updateLocalBoxBounds();
|
|
5763
|
+
if (data.__usePositionNode) LeafHelper.listenPositionNode(this);
|
|
5764
|
+
}
|
|
5761
5765
|
layout.localBoxChanged = undefined;
|
|
5762
5766
|
if (layout.strokeSpread && !layout.strokeChanged) layout.strokeChanged = layout.boxChanged ? true : 2;
|
|
5763
5767
|
if (layout.renderSpread && !layout.renderChanged) layout.renderChanged = layout.boxChanged ? true : 2;
|
|
@@ -6652,7 +6656,7 @@ var LeaferUI = function(exports) {
|
|
|
6652
6656
|
this.levelMap = null;
|
|
6653
6657
|
}
|
|
6654
6658
|
}
|
|
6655
|
-
const version = "2.3.
|
|
6659
|
+
const version = "2.3.3";
|
|
6656
6660
|
if (typeof globalThis !== "undefined") {
|
|
6657
6661
|
const globalLeafer = globalThis.Leafer || (globalThis.Leafer = {});
|
|
6658
6662
|
globalLeafer.version = version;
|