microboard-temp 0.4.83 → 0.4.84

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.
@@ -45993,7 +45993,7 @@ class AlignmentHelper {
45993
45993
  this.board.selection.transformMany(translation, timeStamp);
45994
45994
  return;
45995
45995
  }
45996
- if (item.itemType === "Frame") {
45996
+ if ("index" in item && item.index) {
45997
45997
  const translation = this.board.selection.getManyItemsTranslation(x, y);
45998
45998
  this.board.selection.transformMany(translation, timeStamp);
45999
45999
  } else {
package/dist/cjs/index.js CHANGED
@@ -45993,7 +45993,7 @@ class AlignmentHelper {
45993
45993
  this.board.selection.transformMany(translation, timeStamp);
45994
45994
  return;
45995
45995
  }
45996
- if (item.itemType === "Frame") {
45996
+ if ("index" in item && item.index) {
45997
45997
  const translation = this.board.selection.getManyItemsTranslation(x, y);
45998
45998
  this.board.selection.transformMany(translation, timeStamp);
45999
45999
  } else {
package/dist/cjs/node.js CHANGED
@@ -48466,7 +48466,7 @@ class AlignmentHelper {
48466
48466
  this.board.selection.transformMany(translation, timeStamp);
48467
48467
  return;
48468
48468
  }
48469
- if (item.itemType === "Frame") {
48469
+ if ("index" in item && item.index) {
48470
48470
  const translation = this.board.selection.getManyItemsTranslation(x, y);
48471
48471
  this.board.selection.transformMany(translation, timeStamp);
48472
48472
  } else {
@@ -45842,7 +45842,7 @@ class AlignmentHelper {
45842
45842
  this.board.selection.transformMany(translation, timeStamp);
45843
45843
  return;
45844
45844
  }
45845
- if (item.itemType === "Frame") {
45845
+ if ("index" in item && item.index) {
45846
45846
  const translation = this.board.selection.getManyItemsTranslation(x, y);
45847
45847
  this.board.selection.transformMany(translation, timeStamp);
45848
45848
  } else {
package/dist/esm/index.js CHANGED
@@ -45835,7 +45835,7 @@ class AlignmentHelper {
45835
45835
  this.board.selection.transformMany(translation, timeStamp);
45836
45836
  return;
45837
45837
  }
45838
- if (item.itemType === "Frame") {
45838
+ if ("index" in item && item.index) {
45839
45839
  const translation = this.board.selection.getManyItemsTranslation(x, y);
45840
45840
  this.board.selection.transformMany(translation, timeStamp);
45841
45841
  } else {
package/dist/esm/node.js CHANGED
@@ -48303,7 +48303,7 @@ class AlignmentHelper {
48303
48303
  this.board.selection.transformMany(translation, timeStamp);
48304
48304
  return;
48305
48305
  }
48306
- if (item.itemType === "Frame") {
48306
+ if ("index" in item && item.index) {
48307
48307
  const translation = this.board.selection.getManyItemsTranslation(x, y);
48308
48308
  this.board.selection.transformMany(translation, timeStamp);
48309
48309
  } else {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "microboard-temp",
3
- "version": "0.4.83",
3
+ "version": "0.4.84",
4
4
  "description": "A flexible interactive whiteboard library",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",