@leafer-ui/display 2.1.1 → 2.1.2

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": "2.1.1",
3
+ "version": "2.1.2",
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": "2.1.1",
26
- "@leafer-ui/data": "2.1.1",
27
- "@leafer-ui/display-module": "2.1.1",
28
- "@leafer-ui/decorator": "2.1.1",
29
- "@leafer-ui/external": "2.1.1"
25
+ "@leafer/core": "2.1.2",
26
+ "@leafer-ui/data": "2.1.2",
27
+ "@leafer-ui/display-module": "2.1.2",
28
+ "@leafer-ui/decorator": "2.1.2",
29
+ "@leafer-ui/external": "2.1.2"
30
30
  },
31
31
  "devDependencies": {
32
- "@leafer/interface": "2.1.1",
33
- "@leafer-ui/interface": "2.1.1"
32
+ "@leafer/interface": "2.1.2",
33
+ "@leafer-ui/interface": "2.1.2"
34
34
  }
35
35
  }
package/src/Text.ts CHANGED
@@ -128,7 +128,6 @@ export class Text<TConstructorData = ITextInputData> extends UI<TConstructorData
128
128
  this.__updateTextDrawData() // layout text
129
129
 
130
130
  const { bounds: contentBounds } = data.__textDrawData
131
- console.log(contentBounds)
132
131
  const b = layout.boxBounds
133
132
 
134
133
  layout.contentBounds = contentBounds