leafer-draw 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/web.js +5 -9
- package/dist/web.min.js +1 -1
- package/dist/web.module.js +5 -9
- package/dist/web.module.min.js +1 -1
- package/package.json +2 -2
package/dist/web.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
|
const debug$5 = Debug.get('LeaferCanvas');
|
|
5968
5965
|
class LeaferCanvas extends LeaferCanvasBase {
|
|
@@ -8556,9 +8553,8 @@ var LeaferUI = (function (exports) {
|
|
|
8556
8553
|
layout.renderChanged = true;
|
|
8557
8554
|
setList(data.__textBoxBounds = {}, [b, bounds]);
|
|
8558
8555
|
}
|
|
8559
|
-
else
|
|
8556
|
+
else
|
|
8560
8557
|
data.__textBoxBounds = contentBounds;
|
|
8561
|
-
}
|
|
8562
8558
|
}
|
|
8563
8559
|
__updateRenderSpread() {
|
|
8564
8560
|
let width = super.__updateRenderSpread();
|