microboard-temp 0.13.25 → 0.13.26

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.
@@ -56000,11 +56000,11 @@ class Board {
56000
56000
  }
56001
56001
  getDraggedItemIds() {
56002
56002
  const ids = new Set;
56003
- if (!this.selection.transformationRenderBlock)
56004
- return ids;
56005
- for (const item of this.selection.list())
56006
- ids.add(item.getId());
56007
56003
  const selectTool = this.tools.getSelect();
56004
+ if (this.selection.transformationRenderBlock) {
56005
+ for (const item of this.selection.list())
56006
+ ids.add(item.getId());
56007
+ }
56008
56008
  if (selectTool?.isDraggingUnselectedItem && selectTool.downOnItem) {
56009
56009
  ids.add(selectTool.downOnItem.getId());
56010
56010
  }
package/dist/cjs/index.js CHANGED
@@ -56000,11 +56000,11 @@ class Board {
56000
56000
  }
56001
56001
  getDraggedItemIds() {
56002
56002
  const ids = new Set;
56003
- if (!this.selection.transformationRenderBlock)
56004
- return ids;
56005
- for (const item of this.selection.list())
56006
- ids.add(item.getId());
56007
56003
  const selectTool = this.tools.getSelect();
56004
+ if (this.selection.transformationRenderBlock) {
56005
+ for (const item of this.selection.list())
56006
+ ids.add(item.getId());
56007
+ }
56008
56008
  if (selectTool?.isDraggingUnselectedItem && selectTool.downOnItem) {
56009
56009
  ids.add(selectTool.downOnItem.getId());
56010
56010
  }
package/dist/cjs/node.js CHANGED
@@ -58473,11 +58473,11 @@ class Board {
58473
58473
  }
58474
58474
  getDraggedItemIds() {
58475
58475
  const ids = new Set;
58476
- if (!this.selection.transformationRenderBlock)
58477
- return ids;
58478
- for (const item of this.selection.list())
58479
- ids.add(item.getId());
58480
58476
  const selectTool = this.tools.getSelect();
58477
+ if (this.selection.transformationRenderBlock) {
58478
+ for (const item of this.selection.list())
58479
+ ids.add(item.getId());
58480
+ }
58481
58481
  if (selectTool?.isDraggingUnselectedItem && selectTool.downOnItem) {
58482
58482
  ids.add(selectTool.downOnItem.getId());
58483
58483
  }
@@ -55829,11 +55829,11 @@ class Board {
55829
55829
  }
55830
55830
  getDraggedItemIds() {
55831
55831
  const ids = new Set;
55832
- if (!this.selection.transformationRenderBlock)
55833
- return ids;
55834
- for (const item of this.selection.list())
55835
- ids.add(item.getId());
55836
55832
  const selectTool = this.tools.getSelect();
55833
+ if (this.selection.transformationRenderBlock) {
55834
+ for (const item of this.selection.list())
55835
+ ids.add(item.getId());
55836
+ }
55837
55837
  if (selectTool?.isDraggingUnselectedItem && selectTool.downOnItem) {
55838
55838
  ids.add(selectTool.downOnItem.getId());
55839
55839
  }
package/dist/esm/index.js CHANGED
@@ -55822,11 +55822,11 @@ class Board {
55822
55822
  }
55823
55823
  getDraggedItemIds() {
55824
55824
  const ids = new Set;
55825
- if (!this.selection.transformationRenderBlock)
55826
- return ids;
55827
- for (const item of this.selection.list())
55828
- ids.add(item.getId());
55829
55825
  const selectTool = this.tools.getSelect();
55826
+ if (this.selection.transformationRenderBlock) {
55827
+ for (const item of this.selection.list())
55828
+ ids.add(item.getId());
55829
+ }
55830
55830
  if (selectTool?.isDraggingUnselectedItem && selectTool.downOnItem) {
55831
55831
  ids.add(selectTool.downOnItem.getId());
55832
55832
  }
package/dist/esm/node.js CHANGED
@@ -58290,11 +58290,11 @@ class Board {
58290
58290
  }
58291
58291
  getDraggedItemIds() {
58292
58292
  const ids = new Set;
58293
- if (!this.selection.transformationRenderBlock)
58294
- return ids;
58295
- for (const item of this.selection.list())
58296
- ids.add(item.getId());
58297
58293
  const selectTool = this.tools.getSelect();
58294
+ if (this.selection.transformationRenderBlock) {
58295
+ for (const item of this.selection.list())
58296
+ ids.add(item.getId());
58297
+ }
58298
58298
  if (selectTool?.isDraggingUnselectedItem && selectTool.downOnItem) {
58299
58299
  ids.add(selectTool.downOnItem.getId());
58300
58300
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "microboard-temp",
3
- "version": "0.13.25",
3
+ "version": "0.13.26",
4
4
  "description": "A flexible interactive whiteboard library",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",