microboard-temp 0.5.59 → 0.5.60

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.
@@ -49071,8 +49071,7 @@ class Screen extends BaseItem {
49071
49071
  if (this.backgroundImage && this.backgroundImage.complete) {
49072
49072
  const ctx = context.ctx;
49073
49073
  ctx.save();
49074
- this.transformation.matrix.applyToContext(ctx);
49075
- ctx.drawImage(this.backgroundImage, 0, 0, this.getWidth(), this.getHeight());
49074
+ ctx.drawImage(this.backgroundImage, this.left, this.top, this.getWidth(), this.getHeight());
49076
49075
  ctx.restore();
49077
49076
  }
49078
49077
  this.path.render(context);
package/dist/cjs/index.js CHANGED
@@ -49071,8 +49071,7 @@ class Screen extends BaseItem {
49071
49071
  if (this.backgroundImage && this.backgroundImage.complete) {
49072
49072
  const ctx = context.ctx;
49073
49073
  ctx.save();
49074
- this.transformation.matrix.applyToContext(ctx);
49075
- ctx.drawImage(this.backgroundImage, 0, 0, this.getWidth(), this.getHeight());
49074
+ ctx.drawImage(this.backgroundImage, this.left, this.top, this.getWidth(), this.getHeight());
49076
49075
  ctx.restore();
49077
49076
  }
49078
49077
  this.path.render(context);
package/dist/cjs/node.js CHANGED
@@ -51544,8 +51544,7 @@ class Screen extends BaseItem {
51544
51544
  if (this.backgroundImage && this.backgroundImage.complete) {
51545
51545
  const ctx = context.ctx;
51546
51546
  ctx.save();
51547
- this.transformation.matrix.applyToContext(ctx);
51548
- ctx.drawImage(this.backgroundImage, 0, 0, this.getWidth(), this.getHeight());
51547
+ ctx.drawImage(this.backgroundImage, this.left, this.top, this.getWidth(), this.getHeight());
51549
51548
  ctx.restore();
51550
51549
  }
51551
51550
  this.path.render(context);
@@ -48917,8 +48917,7 @@ class Screen extends BaseItem {
48917
48917
  if (this.backgroundImage && this.backgroundImage.complete) {
48918
48918
  const ctx = context.ctx;
48919
48919
  ctx.save();
48920
- this.transformation.matrix.applyToContext(ctx);
48921
- ctx.drawImage(this.backgroundImage, 0, 0, this.getWidth(), this.getHeight());
48920
+ ctx.drawImage(this.backgroundImage, this.left, this.top, this.getWidth(), this.getHeight());
48922
48921
  ctx.restore();
48923
48922
  }
48924
48923
  this.path.render(context);
package/dist/esm/index.js CHANGED
@@ -48910,8 +48910,7 @@ class Screen extends BaseItem {
48910
48910
  if (this.backgroundImage && this.backgroundImage.complete) {
48911
48911
  const ctx = context.ctx;
48912
48912
  ctx.save();
48913
- this.transformation.matrix.applyToContext(ctx);
48914
- ctx.drawImage(this.backgroundImage, 0, 0, this.getWidth(), this.getHeight());
48913
+ ctx.drawImage(this.backgroundImage, this.left, this.top, this.getWidth(), this.getHeight());
48915
48914
  ctx.restore();
48916
48915
  }
48917
48916
  this.path.render(context);
package/dist/esm/node.js CHANGED
@@ -51378,8 +51378,7 @@ class Screen extends BaseItem {
51378
51378
  if (this.backgroundImage && this.backgroundImage.complete) {
51379
51379
  const ctx = context.ctx;
51380
51380
  ctx.save();
51381
- this.transformation.matrix.applyToContext(ctx);
51382
- ctx.drawImage(this.backgroundImage, 0, 0, this.getWidth(), this.getHeight());
51381
+ ctx.drawImage(this.backgroundImage, this.left, this.top, this.getWidth(), this.getHeight());
51383
51382
  ctx.restore();
51384
51383
  }
51385
51384
  this.path.render(context);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "microboard-temp",
3
- "version": "0.5.59",
3
+ "version": "0.5.60",
4
4
  "description": "A flexible interactive whiteboard library",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",