microboard-temp 0.4.90 → 0.4.91
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
|
@@ -48056,7 +48056,7 @@ class Deck extends BaseItem {
|
|
|
48056
48056
|
this.updateCache(context);
|
|
48057
48057
|
this.isCacheDirty = false;
|
|
48058
48058
|
}
|
|
48059
|
-
if (this.cachedCanvas) {
|
|
48059
|
+
if (this.cachedCanvas && this.cachedCanvas.width && this.cachedCanvas.height) {
|
|
48060
48060
|
ctx.save();
|
|
48061
48061
|
ctx.drawImage(this.cachedCanvas, this.left, this.top);
|
|
48062
48062
|
ctx.restore();
|
package/dist/cjs/index.js
CHANGED
|
@@ -48056,7 +48056,7 @@ class Deck extends BaseItem {
|
|
|
48056
48056
|
this.updateCache(context);
|
|
48057
48057
|
this.isCacheDirty = false;
|
|
48058
48058
|
}
|
|
48059
|
-
if (this.cachedCanvas) {
|
|
48059
|
+
if (this.cachedCanvas && this.cachedCanvas.width && this.cachedCanvas.height) {
|
|
48060
48060
|
ctx.save();
|
|
48061
48061
|
ctx.drawImage(this.cachedCanvas, this.left, this.top);
|
|
48062
48062
|
ctx.restore();
|
package/dist/cjs/node.js
CHANGED
|
@@ -50529,7 +50529,7 @@ class Deck extends BaseItem {
|
|
|
50529
50529
|
this.updateCache(context);
|
|
50530
50530
|
this.isCacheDirty = false;
|
|
50531
50531
|
}
|
|
50532
|
-
if (this.cachedCanvas) {
|
|
50532
|
+
if (this.cachedCanvas && this.cachedCanvas.width && this.cachedCanvas.height) {
|
|
50533
50533
|
ctx.save();
|
|
50534
50534
|
ctx.drawImage(this.cachedCanvas, this.left, this.top);
|
|
50535
50535
|
ctx.restore();
|
package/dist/esm/browser.js
CHANGED
|
@@ -47905,7 +47905,7 @@ class Deck extends BaseItem {
|
|
|
47905
47905
|
this.updateCache(context);
|
|
47906
47906
|
this.isCacheDirty = false;
|
|
47907
47907
|
}
|
|
47908
|
-
if (this.cachedCanvas) {
|
|
47908
|
+
if (this.cachedCanvas && this.cachedCanvas.width && this.cachedCanvas.height) {
|
|
47909
47909
|
ctx.save();
|
|
47910
47910
|
ctx.drawImage(this.cachedCanvas, this.left, this.top);
|
|
47911
47911
|
ctx.restore();
|
package/dist/esm/index.js
CHANGED
|
@@ -47898,7 +47898,7 @@ class Deck extends BaseItem {
|
|
|
47898
47898
|
this.updateCache(context);
|
|
47899
47899
|
this.isCacheDirty = false;
|
|
47900
47900
|
}
|
|
47901
|
-
if (this.cachedCanvas) {
|
|
47901
|
+
if (this.cachedCanvas && this.cachedCanvas.width && this.cachedCanvas.height) {
|
|
47902
47902
|
ctx.save();
|
|
47903
47903
|
ctx.drawImage(this.cachedCanvas, this.left, this.top);
|
|
47904
47904
|
ctx.restore();
|
package/dist/esm/node.js
CHANGED
|
@@ -50366,7 +50366,7 @@ class Deck extends BaseItem {
|
|
|
50366
50366
|
this.updateCache(context);
|
|
50367
50367
|
this.isCacheDirty = false;
|
|
50368
50368
|
}
|
|
50369
|
-
if (this.cachedCanvas) {
|
|
50369
|
+
if (this.cachedCanvas && this.cachedCanvas.width && this.cachedCanvas.height) {
|
|
50370
50370
|
ctx.save();
|
|
50371
50371
|
ctx.drawImage(this.cachedCanvas, this.left, this.top);
|
|
50372
50372
|
ctx.restore();
|