microboard-temp 0.4.91 → 0.4.92
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 +7 -2
- package/dist/cjs/index.js +7 -2
- package/dist/cjs/node.js +7 -2
- package/dist/esm/browser.js +7 -2
- package/dist/esm/index.js +7 -2
- package/dist/esm/node.js +7 -2
- package/package.json +1 -1
package/dist/cjs/browser.js
CHANGED
|
@@ -48063,9 +48063,14 @@ class Deck extends BaseItem {
|
|
|
48063
48063
|
}
|
|
48064
48064
|
}
|
|
48065
48065
|
updateCache(context) {
|
|
48066
|
+
const width2 = this.getWidth();
|
|
48067
|
+
const height3 = this.getHeight();
|
|
48068
|
+
if (!width2 || !height3) {
|
|
48069
|
+
return;
|
|
48070
|
+
}
|
|
48066
48071
|
const tempCanvas = document.createElement("canvas");
|
|
48067
|
-
tempCanvas.width =
|
|
48068
|
-
tempCanvas.height =
|
|
48072
|
+
tempCanvas.width = width2;
|
|
48073
|
+
tempCanvas.height = height3;
|
|
48069
48074
|
const tempCtx = tempCanvas.getContext("2d");
|
|
48070
48075
|
if (!tempCtx)
|
|
48071
48076
|
return;
|
package/dist/cjs/index.js
CHANGED
|
@@ -48063,9 +48063,14 @@ class Deck extends BaseItem {
|
|
|
48063
48063
|
}
|
|
48064
48064
|
}
|
|
48065
48065
|
updateCache(context) {
|
|
48066
|
+
const width2 = this.getWidth();
|
|
48067
|
+
const height3 = this.getHeight();
|
|
48068
|
+
if (!width2 || !height3) {
|
|
48069
|
+
return;
|
|
48070
|
+
}
|
|
48066
48071
|
const tempCanvas = document.createElement("canvas");
|
|
48067
|
-
tempCanvas.width =
|
|
48068
|
-
tempCanvas.height =
|
|
48072
|
+
tempCanvas.width = width2;
|
|
48073
|
+
tempCanvas.height = height3;
|
|
48069
48074
|
const tempCtx = tempCanvas.getContext("2d");
|
|
48070
48075
|
if (!tempCtx)
|
|
48071
48076
|
return;
|
package/dist/cjs/node.js
CHANGED
|
@@ -50536,9 +50536,14 @@ class Deck extends BaseItem {
|
|
|
50536
50536
|
}
|
|
50537
50537
|
}
|
|
50538
50538
|
updateCache(context) {
|
|
50539
|
+
const width2 = this.getWidth();
|
|
50540
|
+
const height3 = this.getHeight();
|
|
50541
|
+
if (!width2 || !height3) {
|
|
50542
|
+
return;
|
|
50543
|
+
}
|
|
50539
50544
|
const tempCanvas = document.createElement("canvas");
|
|
50540
|
-
tempCanvas.width =
|
|
50541
|
-
tempCanvas.height =
|
|
50545
|
+
tempCanvas.width = width2;
|
|
50546
|
+
tempCanvas.height = height3;
|
|
50542
50547
|
const tempCtx = tempCanvas.getContext("2d");
|
|
50543
50548
|
if (!tempCtx)
|
|
50544
50549
|
return;
|
package/dist/esm/browser.js
CHANGED
|
@@ -47912,9 +47912,14 @@ class Deck extends BaseItem {
|
|
|
47912
47912
|
}
|
|
47913
47913
|
}
|
|
47914
47914
|
updateCache(context) {
|
|
47915
|
+
const width2 = this.getWidth();
|
|
47916
|
+
const height3 = this.getHeight();
|
|
47917
|
+
if (!width2 || !height3) {
|
|
47918
|
+
return;
|
|
47919
|
+
}
|
|
47915
47920
|
const tempCanvas = document.createElement("canvas");
|
|
47916
|
-
tempCanvas.width =
|
|
47917
|
-
tempCanvas.height =
|
|
47921
|
+
tempCanvas.width = width2;
|
|
47922
|
+
tempCanvas.height = height3;
|
|
47918
47923
|
const tempCtx = tempCanvas.getContext("2d");
|
|
47919
47924
|
if (!tempCtx)
|
|
47920
47925
|
return;
|
package/dist/esm/index.js
CHANGED
|
@@ -47905,9 +47905,14 @@ class Deck extends BaseItem {
|
|
|
47905
47905
|
}
|
|
47906
47906
|
}
|
|
47907
47907
|
updateCache(context) {
|
|
47908
|
+
const width2 = this.getWidth();
|
|
47909
|
+
const height3 = this.getHeight();
|
|
47910
|
+
if (!width2 || !height3) {
|
|
47911
|
+
return;
|
|
47912
|
+
}
|
|
47908
47913
|
const tempCanvas = document.createElement("canvas");
|
|
47909
|
-
tempCanvas.width =
|
|
47910
|
-
tempCanvas.height =
|
|
47914
|
+
tempCanvas.width = width2;
|
|
47915
|
+
tempCanvas.height = height3;
|
|
47911
47916
|
const tempCtx = tempCanvas.getContext("2d");
|
|
47912
47917
|
if (!tempCtx)
|
|
47913
47918
|
return;
|
package/dist/esm/node.js
CHANGED
|
@@ -50373,9 +50373,14 @@ class Deck extends BaseItem {
|
|
|
50373
50373
|
}
|
|
50374
50374
|
}
|
|
50375
50375
|
updateCache(context) {
|
|
50376
|
+
const width2 = this.getWidth();
|
|
50377
|
+
const height3 = this.getHeight();
|
|
50378
|
+
if (!width2 || !height3) {
|
|
50379
|
+
return;
|
|
50380
|
+
}
|
|
50376
50381
|
const tempCanvas = document.createElement("canvas");
|
|
50377
|
-
tempCanvas.width =
|
|
50378
|
-
tempCanvas.height =
|
|
50382
|
+
tempCanvas.width = width2;
|
|
50383
|
+
tempCanvas.height = height3;
|
|
50379
50384
|
const tempCtx = tempCanvas.getContext("2d");
|
|
50380
50385
|
if (!tempCtx)
|
|
50381
50386
|
return;
|