microboard-temp 0.5.46 → 0.5.47

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.
@@ -47993,11 +47993,7 @@ class Card extends BaseItem {
47993
47993
  ctx.drawImage(this.imageToRender, -width2 / 2, -height3 / 2, width2, height3);
47994
47994
  }
47995
47995
  } else {
47996
- if (width2 > height3) {
47997
- ctx.drawImage(this.imageToRender, -height3 / 2, -width2 / 2, height3, width2);
47998
- } else {
47999
- ctx.drawImage(this.imageToRender, -width2 / 2, -height3 / 2, height3, width2);
48000
- }
47996
+ ctx.drawImage(this.imageToRender, -height3 / 2, -width2 / 2, height3, width2);
48001
47997
  }
48002
47998
  ctx.restore();
48003
47999
  }
package/dist/cjs/index.js CHANGED
@@ -47993,11 +47993,7 @@ class Card extends BaseItem {
47993
47993
  ctx.drawImage(this.imageToRender, -width2 / 2, -height3 / 2, width2, height3);
47994
47994
  }
47995
47995
  } else {
47996
- if (width2 > height3) {
47997
- ctx.drawImage(this.imageToRender, -height3 / 2, -width2 / 2, height3, width2);
47998
- } else {
47999
- ctx.drawImage(this.imageToRender, -width2 / 2, -height3 / 2, height3, width2);
48000
- }
47996
+ ctx.drawImage(this.imageToRender, -height3 / 2, -width2 / 2, height3, width2);
48001
47997
  }
48002
47998
  ctx.restore();
48003
47999
  }
package/dist/cjs/node.js CHANGED
@@ -50466,11 +50466,7 @@ class Card extends BaseItem {
50466
50466
  ctx.drawImage(this.imageToRender, -width2 / 2, -height3 / 2, width2, height3);
50467
50467
  }
50468
50468
  } else {
50469
- if (width2 > height3) {
50470
- ctx.drawImage(this.imageToRender, -height3 / 2, -width2 / 2, height3, width2);
50471
- } else {
50472
- ctx.drawImage(this.imageToRender, -width2 / 2, -height3 / 2, height3, width2);
50473
- }
50469
+ ctx.drawImage(this.imageToRender, -height3 / 2, -width2 / 2, height3, width2);
50474
50470
  }
50475
50471
  ctx.restore();
50476
50472
  }
@@ -47839,11 +47839,7 @@ class Card extends BaseItem {
47839
47839
  ctx.drawImage(this.imageToRender, -width2 / 2, -height3 / 2, width2, height3);
47840
47840
  }
47841
47841
  } else {
47842
- if (width2 > height3) {
47843
- ctx.drawImage(this.imageToRender, -height3 / 2, -width2 / 2, height3, width2);
47844
- } else {
47845
- ctx.drawImage(this.imageToRender, -width2 / 2, -height3 / 2, height3, width2);
47846
- }
47842
+ ctx.drawImage(this.imageToRender, -height3 / 2, -width2 / 2, height3, width2);
47847
47843
  }
47848
47844
  ctx.restore();
47849
47845
  }
package/dist/esm/index.js CHANGED
@@ -47832,11 +47832,7 @@ class Card extends BaseItem {
47832
47832
  ctx.drawImage(this.imageToRender, -width2 / 2, -height3 / 2, width2, height3);
47833
47833
  }
47834
47834
  } else {
47835
- if (width2 > height3) {
47836
- ctx.drawImage(this.imageToRender, -height3 / 2, -width2 / 2, height3, width2);
47837
- } else {
47838
- ctx.drawImage(this.imageToRender, -width2 / 2, -height3 / 2, height3, width2);
47839
- }
47835
+ ctx.drawImage(this.imageToRender, -height3 / 2, -width2 / 2, height3, width2);
47840
47836
  }
47841
47837
  ctx.restore();
47842
47838
  }
package/dist/esm/node.js CHANGED
@@ -50300,11 +50300,7 @@ class Card extends BaseItem {
50300
50300
  ctx.drawImage(this.imageToRender, -width2 / 2, -height3 / 2, width2, height3);
50301
50301
  }
50302
50302
  } else {
50303
- if (width2 > height3) {
50304
- ctx.drawImage(this.imageToRender, -height3 / 2, -width2 / 2, height3, width2);
50305
- } else {
50306
- ctx.drawImage(this.imageToRender, -width2 / 2, -height3 / 2, height3, width2);
50307
- }
50303
+ ctx.drawImage(this.imageToRender, -height3 / 2, -width2 / 2, height3, width2);
50308
50304
  }
50309
50305
  ctx.restore();
50310
50306
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "microboard-temp",
3
- "version": "0.5.46",
3
+ "version": "0.5.47",
4
4
  "description": "A flexible interactive whiteboard library",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",