@leafer-draw/worker 1.0.0-rc.20 → 1.0.0-rc.21
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/worker.js +5 -3
- package/dist/worker.min.js +1 -1
- package/dist/worker.module.js +5 -3
- package/dist/worker.module.min.js +1 -1
- package/package.json +6 -6
package/dist/worker.module.js
CHANGED
|
@@ -1265,7 +1265,8 @@ class Debug {
|
|
|
1265
1265
|
this.warn(...messages);
|
|
1266
1266
|
}
|
|
1267
1267
|
warn(...messages) {
|
|
1268
|
-
|
|
1268
|
+
if (D$4.showWarn)
|
|
1269
|
+
console.warn(this.name, ...messages);
|
|
1269
1270
|
}
|
|
1270
1271
|
repeat(name, ...messages) {
|
|
1271
1272
|
if (!this.repeatMap[name]) {
|
|
@@ -1284,6 +1285,7 @@ class Debug {
|
|
|
1284
1285
|
}
|
|
1285
1286
|
Debug.filterList = [];
|
|
1286
1287
|
Debug.excludeList = [];
|
|
1288
|
+
Debug.showWarn = true;
|
|
1287
1289
|
function getNameList(name) {
|
|
1288
1290
|
if (!name)
|
|
1289
1291
|
name = [];
|
|
@@ -7104,7 +7106,7 @@ Group = __decorate([
|
|
|
7104
7106
|
var Leafer_1;
|
|
7105
7107
|
const debug$1 = Debug.get('Leafer');
|
|
7106
7108
|
let Leafer = Leafer_1 = class Leafer extends Group {
|
|
7107
|
-
static get version() { return '1.0.0-rc.
|
|
7109
|
+
static get version() { return '1.0.0-rc.21'; }
|
|
7108
7110
|
get __tag() { return 'Leafer'; }
|
|
7109
7111
|
get isApp() { return false; }
|
|
7110
7112
|
get app() { return this.parent || this; }
|
|
@@ -8147,7 +8149,7 @@ function penPathType() {
|
|
|
8147
8149
|
};
|
|
8148
8150
|
}
|
|
8149
8151
|
|
|
8150
|
-
const version = "1.0.0-rc.
|
|
8152
|
+
const version = "1.0.0-rc.21";
|
|
8151
8153
|
|
|
8152
8154
|
function fillText(ui, canvas) {
|
|
8153
8155
|
let row;
|