microboard-temp 0.5.57 → 0.5.58
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.
- package/dist/cjs/browser.js +1 -1
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/node.js +1 -1
- package/dist/esm/browser.js +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/node.js +1 -1
- package/package.json +1 -1
package/dist/cjs/browser.js
CHANGED
|
@@ -49072,7 +49072,7 @@ class Screen extends BaseItem {
|
|
|
49072
49072
|
const ctx = context.ctx;
|
|
49073
49073
|
ctx.save();
|
|
49074
49074
|
this.transformation.matrix.applyToContext(ctx);
|
|
49075
|
-
ctx.drawImage(this.backgroundImage, 0, 0);
|
|
49075
|
+
ctx.drawImage(this.backgroundImage, 0, 0, this.getWidth(), this.getHeight());
|
|
49076
49076
|
ctx.restore();
|
|
49077
49077
|
}
|
|
49078
49078
|
this.path.render(context);
|
package/dist/cjs/index.js
CHANGED
|
@@ -49072,7 +49072,7 @@ class Screen extends BaseItem {
|
|
|
49072
49072
|
const ctx = context.ctx;
|
|
49073
49073
|
ctx.save();
|
|
49074
49074
|
this.transformation.matrix.applyToContext(ctx);
|
|
49075
|
-
ctx.drawImage(this.backgroundImage, 0, 0);
|
|
49075
|
+
ctx.drawImage(this.backgroundImage, 0, 0, this.getWidth(), this.getHeight());
|
|
49076
49076
|
ctx.restore();
|
|
49077
49077
|
}
|
|
49078
49078
|
this.path.render(context);
|
package/dist/cjs/node.js
CHANGED
|
@@ -51545,7 +51545,7 @@ class Screen extends BaseItem {
|
|
|
51545
51545
|
const ctx = context.ctx;
|
|
51546
51546
|
ctx.save();
|
|
51547
51547
|
this.transformation.matrix.applyToContext(ctx);
|
|
51548
|
-
ctx.drawImage(this.backgroundImage, 0, 0);
|
|
51548
|
+
ctx.drawImage(this.backgroundImage, 0, 0, this.getWidth(), this.getHeight());
|
|
51549
51549
|
ctx.restore();
|
|
51550
51550
|
}
|
|
51551
51551
|
this.path.render(context);
|
package/dist/esm/browser.js
CHANGED
|
@@ -48918,7 +48918,7 @@ class Screen extends BaseItem {
|
|
|
48918
48918
|
const ctx = context.ctx;
|
|
48919
48919
|
ctx.save();
|
|
48920
48920
|
this.transformation.matrix.applyToContext(ctx);
|
|
48921
|
-
ctx.drawImage(this.backgroundImage, 0, 0);
|
|
48921
|
+
ctx.drawImage(this.backgroundImage, 0, 0, this.getWidth(), this.getHeight());
|
|
48922
48922
|
ctx.restore();
|
|
48923
48923
|
}
|
|
48924
48924
|
this.path.render(context);
|
package/dist/esm/index.js
CHANGED
|
@@ -48911,7 +48911,7 @@ class Screen extends BaseItem {
|
|
|
48911
48911
|
const ctx = context.ctx;
|
|
48912
48912
|
ctx.save();
|
|
48913
48913
|
this.transformation.matrix.applyToContext(ctx);
|
|
48914
|
-
ctx.drawImage(this.backgroundImage, 0, 0);
|
|
48914
|
+
ctx.drawImage(this.backgroundImage, 0, 0, this.getWidth(), this.getHeight());
|
|
48915
48915
|
ctx.restore();
|
|
48916
48916
|
}
|
|
48917
48917
|
this.path.render(context);
|
package/dist/esm/node.js
CHANGED
|
@@ -51379,7 +51379,7 @@ class Screen extends BaseItem {
|
|
|
51379
51379
|
const ctx = context.ctx;
|
|
51380
51380
|
ctx.save();
|
|
51381
51381
|
this.transformation.matrix.applyToContext(ctx);
|
|
51382
|
-
ctx.drawImage(this.backgroundImage, 0, 0);
|
|
51382
|
+
ctx.drawImage(this.backgroundImage, 0, 0, this.getWidth(), this.getHeight());
|
|
51383
51383
|
ctx.restore();
|
|
51384
51384
|
}
|
|
51385
51385
|
this.path.render(context);
|