@leafer-ui/display 1.0.8 → 1.0.9

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.
Files changed (2) hide show
  1. package/package.json +8 -8
  2. package/src/Text.ts +0 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leafer-ui/display",
3
- "version": "1.0.8",
3
+ "version": "1.0.9",
4
4
  "description": "@leafer-ui/display",
5
5
  "author": "Chao (Leafer) Wan",
6
6
  "license": "MIT",
@@ -22,14 +22,14 @@
22
22
  "leaferjs"
23
23
  ],
24
24
  "dependencies": {
25
- "@leafer/core": "1.0.8",
26
- "@leafer-ui/data": "1.0.8",
27
- "@leafer-ui/display-module": "1.0.8",
28
- "@leafer-ui/decorator": "1.0.8",
29
- "@leafer-ui/external": "1.0.8"
25
+ "@leafer/core": "1.0.9",
26
+ "@leafer-ui/data": "1.0.9",
27
+ "@leafer-ui/display-module": "1.0.9",
28
+ "@leafer-ui/decorator": "1.0.9",
29
+ "@leafer-ui/external": "1.0.9"
30
30
  },
31
31
  "devDependencies": {
32
- "@leafer/interface": "1.0.8",
33
- "@leafer-ui/interface": "1.0.8"
32
+ "@leafer/interface": "1.0.9",
33
+ "@leafer-ui/interface": "1.0.9"
34
34
  }
35
35
  }
package/src/Text.ts CHANGED
@@ -141,7 +141,6 @@ export class Text extends UI implements IText {
141
141
 
142
142
  const { bounds } = data.__textDrawData
143
143
  const b = layout.boxBounds
144
- console.log(bounds, autoWidth, autoHeight)
145
144
 
146
145
  if (data.__lineHeight < fontSize) spread(bounds, fontSize / 2)
147
146