microboard-temp 0.4.49 → 0.4.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.
@@ -20747,10 +20747,6 @@ class SpatialIndex {
20747
20747
  if ("index" in item && item.index) {
20748
20748
  item.removeChildItems(item.index.list());
20749
20749
  }
20750
- if (item.parent !== "Board") {
20751
- const parentFrame = this.items.getById(item.parent);
20752
- parentFrame?.removeChildItems(item);
20753
- }
20754
20750
  this.itemsArray.splice(this.itemsArray.indexOf(item), 1);
20755
20751
  this.itemsIndex.remove(item);
20756
20752
  this.Mbr = new Mbr;
package/dist/cjs/index.js CHANGED
@@ -20747,10 +20747,6 @@ class SpatialIndex {
20747
20747
  if ("index" in item && item.index) {
20748
20748
  item.removeChildItems(item.index.list());
20749
20749
  }
20750
- if (item.parent !== "Board") {
20751
- const parentFrame = this.items.getById(item.parent);
20752
- parentFrame?.removeChildItems(item);
20753
- }
20754
20750
  this.itemsArray.splice(this.itemsArray.indexOf(item), 1);
20755
20751
  this.itemsIndex.remove(item);
20756
20752
  this.Mbr = new Mbr;
package/dist/cjs/node.js CHANGED
@@ -23219,10 +23219,6 @@ class SpatialIndex {
23219
23219
  if ("index" in item && item.index) {
23220
23220
  item.removeChildItems(item.index.list());
23221
23221
  }
23222
- if (item.parent !== "Board") {
23223
- const parentFrame = this.items.getById(item.parent);
23224
- parentFrame?.removeChildItems(item);
23225
- }
23226
23222
  this.itemsArray.splice(this.itemsArray.indexOf(item), 1);
23227
23223
  this.itemsIndex.remove(item);
23228
23224
  this.Mbr = new Mbr;
@@ -20597,10 +20597,6 @@ class SpatialIndex {
20597
20597
  if ("index" in item && item.index) {
20598
20598
  item.removeChildItems(item.index.list());
20599
20599
  }
20600
- if (item.parent !== "Board") {
20601
- const parentFrame = this.items.getById(item.parent);
20602
- parentFrame?.removeChildItems(item);
20603
- }
20604
20600
  this.itemsArray.splice(this.itemsArray.indexOf(item), 1);
20605
20601
  this.itemsIndex.remove(item);
20606
20602
  this.Mbr = new Mbr;
package/dist/esm/index.js CHANGED
@@ -20590,10 +20590,6 @@ class SpatialIndex {
20590
20590
  if ("index" in item && item.index) {
20591
20591
  item.removeChildItems(item.index.list());
20592
20592
  }
20593
- if (item.parent !== "Board") {
20594
- const parentFrame = this.items.getById(item.parent);
20595
- parentFrame?.removeChildItems(item);
20596
- }
20597
20593
  this.itemsArray.splice(this.itemsArray.indexOf(item), 1);
20598
20594
  this.itemsIndex.remove(item);
20599
20595
  this.Mbr = new Mbr;
package/dist/esm/node.js CHANGED
@@ -23057,10 +23057,6 @@ class SpatialIndex {
23057
23057
  if ("index" in item && item.index) {
23058
23058
  item.removeChildItems(item.index.list());
23059
23059
  }
23060
- if (item.parent !== "Board") {
23061
- const parentFrame = this.items.getById(item.parent);
23062
- parentFrame?.removeChildItems(item);
23063
- }
23064
23060
  this.itemsArray.splice(this.itemsArray.indexOf(item), 1);
23065
23061
  this.itemsIndex.remove(item);
23066
23062
  this.Mbr = new Mbr;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "microboard-temp",
3
- "version": "0.4.49",
3
+ "version": "0.4.50",
4
4
  "description": "A flexible interactive whiteboard library",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",