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.module.js
CHANGED
|
@@ -4426,13 +4426,10 @@ class LeafLayout {
|
|
|
4426
4426
|
update() {
|
|
4427
4427
|
const { leafer } = this.leaf;
|
|
4428
4428
|
if (leafer) {
|
|
4429
|
-
if (leafer.ready)
|
|
4430
|
-
|
|
4431
|
-
|
|
4432
|
-
}
|
|
4433
|
-
else {
|
|
4429
|
+
if (leafer.ready)
|
|
4430
|
+
leafer.watcher.changed && leafer.layouter.layout();
|
|
4431
|
+
else
|
|
4434
4432
|
leafer.start();
|
|
4435
|
-
}
|
|
4436
4433
|
}
|
|
4437
4434
|
else {
|
|
4438
4435
|
let root = this.leaf;
|
|
@@ -5959,7 +5956,7 @@ class LeafLevelList {
|
|
|
5959
5956
|
}
|
|
5960
5957
|
}
|
|
5961
5958
|
|
|
5962
|
-
const version = "1.0.
|
|
5959
|
+
const version = "1.0.7";
|
|
5963
5960
|
|
|
5964
5961
|
const debug$5 = Debug.get('LeaferCanvas');
|
|
5965
5962
|
class LeaferCanvas extends LeaferCanvasBase {
|
|
@@ -8553,9 +8550,8 @@ let Text = class Text extends UI {
|
|
|
8553
8550
|
layout.renderChanged = true;
|
|
8554
8551
|
setList(data.__textBoxBounds = {}, [b, bounds]);
|
|
8555
8552
|
}
|
|
8556
|
-
else
|
|
8553
|
+
else
|
|
8557
8554
|
data.__textBoxBounds = contentBounds;
|
|
8558
|
-
}
|
|
8559
8555
|
}
|
|
8560
8556
|
__updateRenderSpread() {
|
|
8561
8557
|
let width = super.__updateRenderSpread();
|