@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.js
CHANGED
|
@@ -1268,7 +1268,8 @@ var LeaferUI = (function (exports) {
|
|
|
1268
1268
|
this.warn(...messages);
|
|
1269
1269
|
}
|
|
1270
1270
|
warn(...messages) {
|
|
1271
|
-
|
|
1271
|
+
if (D$4.showWarn)
|
|
1272
|
+
console.warn(this.name, ...messages);
|
|
1272
1273
|
}
|
|
1273
1274
|
repeat(name, ...messages) {
|
|
1274
1275
|
if (!this.repeatMap[name]) {
|
|
@@ -1287,6 +1288,7 @@ var LeaferUI = (function (exports) {
|
|
|
1287
1288
|
}
|
|
1288
1289
|
Debug.filterList = [];
|
|
1289
1290
|
Debug.excludeList = [];
|
|
1291
|
+
Debug.showWarn = true;
|
|
1290
1292
|
function getNameList(name) {
|
|
1291
1293
|
if (!name)
|
|
1292
1294
|
name = [];
|
|
@@ -7107,7 +7109,7 @@ var LeaferUI = (function (exports) {
|
|
|
7107
7109
|
var Leafer_1;
|
|
7108
7110
|
const debug$1 = Debug.get('Leafer');
|
|
7109
7111
|
exports.Leafer = Leafer_1 = class Leafer extends exports.Group {
|
|
7110
|
-
static get version() { return '1.0.0-rc.
|
|
7112
|
+
static get version() { return '1.0.0-rc.21'; }
|
|
7111
7113
|
get __tag() { return 'Leafer'; }
|
|
7112
7114
|
get isApp() { return false; }
|
|
7113
7115
|
get app() { return this.parent || this; }
|
|
@@ -8150,7 +8152,7 @@ var LeaferUI = (function (exports) {
|
|
|
8150
8152
|
};
|
|
8151
8153
|
}
|
|
8152
8154
|
|
|
8153
|
-
const version = "1.0.0-rc.
|
|
8155
|
+
const version = "1.0.0-rc.21";
|
|
8154
8156
|
|
|
8155
8157
|
function fillText(ui, canvas) {
|
|
8156
8158
|
let row;
|