microboard-temp 0.5.49 → 0.5.50

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.
@@ -44004,9 +44004,6 @@ class AddFrame extends BoardTool {
44004
44004
  this.initTransformation(width2 / 100, height2 / 100);
44005
44005
  localStorage.setItem("lastFrameScale", JSON.stringify(this.frame.transformation.getScale()));
44006
44006
  }
44007
- const currMbr = this.frame.getMbr();
44008
- const frameChildren = this.board.items.getEnclosedOrCrossed(currMbr.left, currMbr.top, currMbr.right, currMbr.bottom).filter((item) => item.parent === "Board").filter((item) => this.frame.handleNesting(item));
44009
- this.applyAddChildren(frameChildren);
44010
44007
  if (this.shape !== "Custom") {
44011
44008
  this.applyCanChangeRatio(false);
44012
44009
  }
package/dist/cjs/index.js CHANGED
@@ -44004,9 +44004,6 @@ class AddFrame extends BoardTool {
44004
44004
  this.initTransformation(width2 / 100, height2 / 100);
44005
44005
  localStorage.setItem("lastFrameScale", JSON.stringify(this.frame.transformation.getScale()));
44006
44006
  }
44007
- const currMbr = this.frame.getMbr();
44008
- const frameChildren = this.board.items.getEnclosedOrCrossed(currMbr.left, currMbr.top, currMbr.right, currMbr.bottom).filter((item) => item.parent === "Board").filter((item) => this.frame.handleNesting(item));
44009
- this.applyAddChildren(frameChildren);
44010
44007
  if (this.shape !== "Custom") {
44011
44008
  this.applyCanChangeRatio(false);
44012
44009
  }
package/dist/cjs/node.js CHANGED
@@ -46477,9 +46477,6 @@ class AddFrame extends BoardTool {
46477
46477
  this.initTransformation(width2 / 100, height2 / 100);
46478
46478
  localStorage.setItem("lastFrameScale", JSON.stringify(this.frame.transformation.getScale()));
46479
46479
  }
46480
- const currMbr = this.frame.getMbr();
46481
- const frameChildren = this.board.items.getEnclosedOrCrossed(currMbr.left, currMbr.top, currMbr.right, currMbr.bottom).filter((item) => item.parent === "Board").filter((item) => this.frame.handleNesting(item));
46482
- this.applyAddChildren(frameChildren);
46483
46480
  if (this.shape !== "Custom") {
46484
46481
  this.applyCanChangeRatio(false);
46485
46482
  }
@@ -43850,9 +43850,6 @@ class AddFrame extends BoardTool {
43850
43850
  this.initTransformation(width2 / 100, height2 / 100);
43851
43851
  localStorage.setItem("lastFrameScale", JSON.stringify(this.frame.transformation.getScale()));
43852
43852
  }
43853
- const currMbr = this.frame.getMbr();
43854
- const frameChildren = this.board.items.getEnclosedOrCrossed(currMbr.left, currMbr.top, currMbr.right, currMbr.bottom).filter((item) => item.parent === "Board").filter((item) => this.frame.handleNesting(item));
43855
- this.applyAddChildren(frameChildren);
43856
43853
  if (this.shape !== "Custom") {
43857
43854
  this.applyCanChangeRatio(false);
43858
43855
  }
package/dist/esm/index.js CHANGED
@@ -43843,9 +43843,6 @@ class AddFrame extends BoardTool {
43843
43843
  this.initTransformation(width2 / 100, height2 / 100);
43844
43844
  localStorage.setItem("lastFrameScale", JSON.stringify(this.frame.transformation.getScale()));
43845
43845
  }
43846
- const currMbr = this.frame.getMbr();
43847
- const frameChildren = this.board.items.getEnclosedOrCrossed(currMbr.left, currMbr.top, currMbr.right, currMbr.bottom).filter((item) => item.parent === "Board").filter((item) => this.frame.handleNesting(item));
43848
- this.applyAddChildren(frameChildren);
43849
43846
  if (this.shape !== "Custom") {
43850
43847
  this.applyCanChangeRatio(false);
43851
43848
  }
package/dist/esm/node.js CHANGED
@@ -46311,9 +46311,6 @@ class AddFrame extends BoardTool {
46311
46311
  this.initTransformation(width2 / 100, height2 / 100);
46312
46312
  localStorage.setItem("lastFrameScale", JSON.stringify(this.frame.transformation.getScale()));
46313
46313
  }
46314
- const currMbr = this.frame.getMbr();
46315
- const frameChildren = this.board.items.getEnclosedOrCrossed(currMbr.left, currMbr.top, currMbr.right, currMbr.bottom).filter((item) => item.parent === "Board").filter((item) => this.frame.handleNesting(item));
46316
- this.applyAddChildren(frameChildren);
46317
46314
  if (this.shape !== "Custom") {
46318
46315
  this.applyCanChangeRatio(false);
46319
46316
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "microboard-temp",
3
- "version": "0.5.49",
3
+ "version": "0.5.50",
4
4
  "description": "A flexible interactive whiteboard library",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",