microboard-temp 0.4.91 → 0.4.93
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 +8 -5
- package/dist/cjs/index.js +8 -5
- package/dist/cjs/node.js +8 -5
- package/dist/esm/browser.js +8 -5
- package/dist/esm/index.js +8 -5
- package/dist/esm/node.js +8 -5
- package/dist/types/Settings.d.ts +0 -2
- package/package.json +1 -1
package/dist/cjs/browser.js
CHANGED
|
@@ -7064,9 +7064,7 @@ var conf = {
|
|
|
7064
7064
|
FORCE_HOTKEYS: "auto",
|
|
7065
7065
|
debug: false,
|
|
7066
7066
|
FALLBACK_LNG: "en",
|
|
7067
|
-
cursorsMap
|
|
7068
|
-
apiURL: undefined,
|
|
7069
|
-
wsURL: undefined
|
|
7067
|
+
cursorsMap
|
|
7070
7068
|
};
|
|
7071
7069
|
initDefaultI18N();
|
|
7072
7070
|
|
|
@@ -48063,9 +48061,14 @@ class Deck extends BaseItem {
|
|
|
48063
48061
|
}
|
|
48064
48062
|
}
|
|
48065
48063
|
updateCache(context) {
|
|
48064
|
+
const width2 = this.getWidth();
|
|
48065
|
+
const height3 = this.getHeight();
|
|
48066
|
+
if (!width2 || !height3) {
|
|
48067
|
+
return;
|
|
48068
|
+
}
|
|
48066
48069
|
const tempCanvas = document.createElement("canvas");
|
|
48067
|
-
tempCanvas.width =
|
|
48068
|
-
tempCanvas.height =
|
|
48070
|
+
tempCanvas.width = width2;
|
|
48071
|
+
tempCanvas.height = height3;
|
|
48069
48072
|
const tempCtx = tempCanvas.getContext("2d");
|
|
48070
48073
|
if (!tempCtx)
|
|
48071
48074
|
return;
|
package/dist/cjs/index.js
CHANGED
|
@@ -7064,9 +7064,7 @@ var conf = {
|
|
|
7064
7064
|
FORCE_HOTKEYS: "auto",
|
|
7065
7065
|
debug: false,
|
|
7066
7066
|
FALLBACK_LNG: "en",
|
|
7067
|
-
cursorsMap
|
|
7068
|
-
apiURL: undefined,
|
|
7069
|
-
wsURL: undefined
|
|
7067
|
+
cursorsMap
|
|
7070
7068
|
};
|
|
7071
7069
|
initDefaultI18N();
|
|
7072
7070
|
|
|
@@ -48063,9 +48061,14 @@ class Deck extends BaseItem {
|
|
|
48063
48061
|
}
|
|
48064
48062
|
}
|
|
48065
48063
|
updateCache(context) {
|
|
48064
|
+
const width2 = this.getWidth();
|
|
48065
|
+
const height3 = this.getHeight();
|
|
48066
|
+
if (!width2 || !height3) {
|
|
48067
|
+
return;
|
|
48068
|
+
}
|
|
48066
48069
|
const tempCanvas = document.createElement("canvas");
|
|
48067
|
-
tempCanvas.width =
|
|
48068
|
-
tempCanvas.height =
|
|
48070
|
+
tempCanvas.width = width2;
|
|
48071
|
+
tempCanvas.height = height3;
|
|
48069
48072
|
const tempCtx = tempCanvas.getContext("2d");
|
|
48070
48073
|
if (!tempCtx)
|
|
48071
48074
|
return;
|
package/dist/cjs/node.js
CHANGED
|
@@ -8101,9 +8101,7 @@ var conf = {
|
|
|
8101
8101
|
FORCE_HOTKEYS: "auto",
|
|
8102
8102
|
debug: false,
|
|
8103
8103
|
FALLBACK_LNG: "en",
|
|
8104
|
-
cursorsMap
|
|
8105
|
-
apiURL: undefined,
|
|
8106
|
-
wsURL: undefined
|
|
8104
|
+
cursorsMap
|
|
8107
8105
|
};
|
|
8108
8106
|
initDefaultI18N();
|
|
8109
8107
|
|
|
@@ -50536,9 +50534,14 @@ class Deck extends BaseItem {
|
|
|
50536
50534
|
}
|
|
50537
50535
|
}
|
|
50538
50536
|
updateCache(context) {
|
|
50537
|
+
const width2 = this.getWidth();
|
|
50538
|
+
const height3 = this.getHeight();
|
|
50539
|
+
if (!width2 || !height3) {
|
|
50540
|
+
return;
|
|
50541
|
+
}
|
|
50539
50542
|
const tempCanvas = document.createElement("canvas");
|
|
50540
|
-
tempCanvas.width =
|
|
50541
|
-
tempCanvas.height =
|
|
50543
|
+
tempCanvas.width = width2;
|
|
50544
|
+
tempCanvas.height = height3;
|
|
50542
50545
|
const tempCtx = tempCanvas.getContext("2d");
|
|
50543
50546
|
if (!tempCtx)
|
|
50544
50547
|
return;
|
package/dist/esm/browser.js
CHANGED
|
@@ -6904,9 +6904,7 @@ var conf = {
|
|
|
6904
6904
|
FORCE_HOTKEYS: "auto",
|
|
6905
6905
|
debug: false,
|
|
6906
6906
|
FALLBACK_LNG: "en",
|
|
6907
|
-
cursorsMap
|
|
6908
|
-
apiURL: undefined,
|
|
6909
|
-
wsURL: undefined
|
|
6907
|
+
cursorsMap
|
|
6910
6908
|
};
|
|
6911
6909
|
initDefaultI18N();
|
|
6912
6910
|
|
|
@@ -47912,9 +47910,14 @@ class Deck extends BaseItem {
|
|
|
47912
47910
|
}
|
|
47913
47911
|
}
|
|
47914
47912
|
updateCache(context) {
|
|
47913
|
+
const width2 = this.getWidth();
|
|
47914
|
+
const height3 = this.getHeight();
|
|
47915
|
+
if (!width2 || !height3) {
|
|
47916
|
+
return;
|
|
47917
|
+
}
|
|
47915
47918
|
const tempCanvas = document.createElement("canvas");
|
|
47916
|
-
tempCanvas.width =
|
|
47917
|
-
tempCanvas.height =
|
|
47919
|
+
tempCanvas.width = width2;
|
|
47920
|
+
tempCanvas.height = height3;
|
|
47918
47921
|
const tempCtx = tempCanvas.getContext("2d");
|
|
47919
47922
|
if (!tempCtx)
|
|
47920
47923
|
return;
|
package/dist/esm/index.js
CHANGED
|
@@ -6897,9 +6897,7 @@ var conf = {
|
|
|
6897
6897
|
FORCE_HOTKEYS: "auto",
|
|
6898
6898
|
debug: false,
|
|
6899
6899
|
FALLBACK_LNG: "en",
|
|
6900
|
-
cursorsMap
|
|
6901
|
-
apiURL: undefined,
|
|
6902
|
-
wsURL: undefined
|
|
6900
|
+
cursorsMap
|
|
6903
6901
|
};
|
|
6904
6902
|
initDefaultI18N();
|
|
6905
6903
|
|
|
@@ -47905,9 +47903,14 @@ class Deck extends BaseItem {
|
|
|
47905
47903
|
}
|
|
47906
47904
|
}
|
|
47907
47905
|
updateCache(context) {
|
|
47906
|
+
const width2 = this.getWidth();
|
|
47907
|
+
const height3 = this.getHeight();
|
|
47908
|
+
if (!width2 || !height3) {
|
|
47909
|
+
return;
|
|
47910
|
+
}
|
|
47908
47911
|
const tempCanvas = document.createElement("canvas");
|
|
47909
|
-
tempCanvas.width =
|
|
47910
|
-
tempCanvas.height =
|
|
47912
|
+
tempCanvas.width = width2;
|
|
47913
|
+
tempCanvas.height = height3;
|
|
47911
47914
|
const tempCtx = tempCanvas.getContext("2d");
|
|
47912
47915
|
if (!tempCtx)
|
|
47913
47916
|
return;
|
package/dist/esm/node.js
CHANGED
|
@@ -7681,9 +7681,7 @@ var conf = {
|
|
|
7681
7681
|
FORCE_HOTKEYS: "auto",
|
|
7682
7682
|
debug: false,
|
|
7683
7683
|
FALLBACK_LNG: "en",
|
|
7684
|
-
cursorsMap
|
|
7685
|
-
apiURL: undefined,
|
|
7686
|
-
wsURL: undefined
|
|
7684
|
+
cursorsMap
|
|
7687
7685
|
};
|
|
7688
7686
|
initDefaultI18N();
|
|
7689
7687
|
|
|
@@ -50373,9 +50371,14 @@ class Deck extends BaseItem {
|
|
|
50373
50371
|
}
|
|
50374
50372
|
}
|
|
50375
50373
|
updateCache(context) {
|
|
50374
|
+
const width2 = this.getWidth();
|
|
50375
|
+
const height3 = this.getHeight();
|
|
50376
|
+
if (!width2 || !height3) {
|
|
50377
|
+
return;
|
|
50378
|
+
}
|
|
50376
50379
|
const tempCanvas = document.createElement("canvas");
|
|
50377
|
-
tempCanvas.width =
|
|
50378
|
-
tempCanvas.height =
|
|
50380
|
+
tempCanvas.width = width2;
|
|
50381
|
+
tempCanvas.height = height3;
|
|
50379
50382
|
const tempCtx = tempCanvas.getContext("2d");
|
|
50380
50383
|
if (!tempCtx)
|
|
50381
50384
|
return;
|
package/dist/types/Settings.d.ts
CHANGED
|
@@ -230,8 +230,6 @@ export declare const conf: {
|
|
|
230
230
|
debug: boolean;
|
|
231
231
|
FALLBACK_LNG: string;
|
|
232
232
|
cursorsMap: Partial<Record<import("./Pointer/Cursor").CursorName, string>>;
|
|
233
|
-
apiURL: string | undefined;
|
|
234
|
-
wsURL: string | undefined;
|
|
235
233
|
};
|
|
236
234
|
export type Settings = typeof conf;
|
|
237
235
|
export {};
|