microboard-temp 0.5.48 → 0.5.49

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.
@@ -47986,7 +47986,6 @@ class Card extends BaseItem {
47986
47986
  }
47987
47987
  ctx.translate(centerX, centerY);
47988
47988
  ctx.rotate(this.transformation.getRotation() * Math.PI / 180);
47989
- ctx.translate(-width2 / 2, -height3 / 2);
47990
47989
  if (this.dimensions.width < this.dimensions.height) {
47991
47990
  if (width2 > height3) {
47992
47991
  ctx.drawImage(this.imageToRender, -height3 / 2, -width2 / 2, height3, width2);
package/dist/cjs/index.js CHANGED
@@ -47986,7 +47986,6 @@ class Card extends BaseItem {
47986
47986
  }
47987
47987
  ctx.translate(centerX, centerY);
47988
47988
  ctx.rotate(this.transformation.getRotation() * Math.PI / 180);
47989
- ctx.translate(-width2 / 2, -height3 / 2);
47990
47989
  if (this.dimensions.width < this.dimensions.height) {
47991
47990
  if (width2 > height3) {
47992
47991
  ctx.drawImage(this.imageToRender, -height3 / 2, -width2 / 2, height3, width2);
package/dist/cjs/node.js CHANGED
@@ -50459,7 +50459,6 @@ class Card extends BaseItem {
50459
50459
  }
50460
50460
  ctx.translate(centerX, centerY);
50461
50461
  ctx.rotate(this.transformation.getRotation() * Math.PI / 180);
50462
- ctx.translate(-width2 / 2, -height3 / 2);
50463
50462
  if (this.dimensions.width < this.dimensions.height) {
50464
50463
  if (width2 > height3) {
50465
50464
  ctx.drawImage(this.imageToRender, -height3 / 2, -width2 / 2, height3, width2);
@@ -47832,7 +47832,6 @@ class Card extends BaseItem {
47832
47832
  }
47833
47833
  ctx.translate(centerX, centerY);
47834
47834
  ctx.rotate(this.transformation.getRotation() * Math.PI / 180);
47835
- ctx.translate(-width2 / 2, -height3 / 2);
47836
47835
  if (this.dimensions.width < this.dimensions.height) {
47837
47836
  if (width2 > height3) {
47838
47837
  ctx.drawImage(this.imageToRender, -height3 / 2, -width2 / 2, height3, width2);
package/dist/esm/index.js CHANGED
@@ -47825,7 +47825,6 @@ class Card extends BaseItem {
47825
47825
  }
47826
47826
  ctx.translate(centerX, centerY);
47827
47827
  ctx.rotate(this.transformation.getRotation() * Math.PI / 180);
47828
- ctx.translate(-width2 / 2, -height3 / 2);
47829
47828
  if (this.dimensions.width < this.dimensions.height) {
47830
47829
  if (width2 > height3) {
47831
47830
  ctx.drawImage(this.imageToRender, -height3 / 2, -width2 / 2, height3, width2);
package/dist/esm/node.js CHANGED
@@ -50293,7 +50293,6 @@ class Card extends BaseItem {
50293
50293
  }
50294
50294
  ctx.translate(centerX, centerY);
50295
50295
  ctx.rotate(this.transformation.getRotation() * Math.PI / 180);
50296
- ctx.translate(-width2 / 2, -height3 / 2);
50297
50296
  if (this.dimensions.width < this.dimensions.height) {
50298
50297
  if (width2 > height3) {
50299
50298
  ctx.drawImage(this.imageToRender, -height3 / 2, -width2 / 2, height3, width2);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "microboard-temp",
3
- "version": "0.5.48",
3
+ "version": "0.5.49",
4
4
  "description": "A flexible interactive whiteboard library",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",