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