@leafer-ui/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/lib/draw.cjs +1 -2
- package/lib/draw.esm.js +1 -2
- package/package.json +6 -6
package/lib/draw.cjs
CHANGED
|
@@ -1779,9 +1779,8 @@ exports.Text = class Text extends exports.UI {
|
|
|
1779
1779
|
layout.renderChanged = true;
|
|
1780
1780
|
setList(data.__textBoxBounds = {}, [b, bounds]);
|
|
1781
1781
|
}
|
|
1782
|
-
else
|
|
1782
|
+
else
|
|
1783
1783
|
data.__textBoxBounds = contentBounds;
|
|
1784
|
-
}
|
|
1785
1784
|
}
|
|
1786
1785
|
__updateRenderSpread() {
|
|
1787
1786
|
let width = super.__updateRenderSpread();
|
package/lib/draw.esm.js
CHANGED
|
@@ -1778,9 +1778,8 @@ let Text = class Text extends UI {
|
|
|
1778
1778
|
layout.renderChanged = true;
|
|
1779
1779
|
setList(data.__textBoxBounds = {}, [b, bounds]);
|
|
1780
1780
|
}
|
|
1781
|
-
else
|
|
1781
|
+
else
|
|
1782
1782
|
data.__textBoxBounds = contentBounds;
|
|
1783
|
-
}
|
|
1784
1783
|
}
|
|
1785
1784
|
__updateRenderSpread() {
|
|
1786
1785
|
let width = super.__updateRenderSpread();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@leafer-ui/draw",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.7",
|
|
4
4
|
"description": "@leafer-ui/draw",
|
|
5
5
|
"author": "Chao (Leafer) Wan",
|
|
6
6
|
"license": "MIT",
|
|
@@ -29,10 +29,10 @@
|
|
|
29
29
|
"leaferjs"
|
|
30
30
|
],
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@leafer/core": "1.0.
|
|
33
|
-
"@leafer-ui/display": "1.0.
|
|
34
|
-
"@leafer-ui/display-module": "1.0.
|
|
35
|
-
"@leafer-ui/decorator": "1.0.
|
|
36
|
-
"@leafer-ui/external": "1.0.
|
|
32
|
+
"@leafer/core": "1.0.7",
|
|
33
|
+
"@leafer-ui/display": "1.0.7",
|
|
34
|
+
"@leafer-ui/display-module": "1.0.7",
|
|
35
|
+
"@leafer-ui/decorator": "1.0.7",
|
|
36
|
+
"@leafer-ui/external": "1.0.7"
|
|
37
37
|
}
|
|
38
38
|
}
|