@leafer-draw/worker 1.0.6 → 1.0.7
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 -9
- package/dist/worker.min.js +1 -1
- package/dist/worker.module.js +5 -9
- package/dist/worker.module.min.js +1 -1
- package/package.json +6 -6
package/dist/worker.js
CHANGED
|
@@ -4429,13 +4429,10 @@ var LeaferUI = (function (exports) {
|
|
|
4429
4429
|
update() {
|
|
4430
4430
|
const { leafer } = this.leaf;
|
|
4431
4431
|
if (leafer) {
|
|
4432
|
-
if (leafer.ready)
|
|
4433
|
-
|
|
4434
|
-
|
|
4435
|
-
}
|
|
4436
|
-
else {
|
|
4432
|
+
if (leafer.ready)
|
|
4433
|
+
leafer.watcher.changed && leafer.layouter.layout();
|
|
4434
|
+
else
|
|
4437
4435
|
leafer.start();
|
|
4438
|
-
}
|
|
4439
4436
|
}
|
|
4440
4437
|
else {
|
|
4441
4438
|
let root = this.leaf;
|
|
@@ -5962,7 +5959,7 @@ var LeaferUI = (function (exports) {
|
|
|
5962
5959
|
}
|
|
5963
5960
|
}
|
|
5964
5961
|
|
|
5965
|
-
const version = "1.0.
|
|
5962
|
+
const version = "1.0.7";
|
|
5966
5963
|
|
|
5967
5964
|
class LeaferCanvas extends LeaferCanvasBase {
|
|
5968
5965
|
get allowBackgroundColor() { return true; }
|
|
@@ -8383,9 +8380,8 @@ var LeaferUI = (function (exports) {
|
|
|
8383
8380
|
layout.renderChanged = true;
|
|
8384
8381
|
setList(data.__textBoxBounds = {}, [b, bounds]);
|
|
8385
8382
|
}
|
|
8386
|
-
else
|
|
8383
|
+
else
|
|
8387
8384
|
data.__textBoxBounds = contentBounds;
|
|
8388
|
-
}
|
|
8389
8385
|
}
|
|
8390
8386
|
__updateRenderSpread() {
|
|
8391
8387
|
let width = super.__updateRenderSpread();
|