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