@leafer-ui/render 1.0.0-alpha.7 → 1.0.0-alpha.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 +4 -4
  2. package/src/UIRender.ts +2 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leafer-ui/render",
3
- "version": "1.0.0-alpha.7",
3
+ "version": "1.0.0-alpha.9",
4
4
  "description": "@leafer-ui/render",
5
5
  "author": "Chao (Leafer) Wan",
6
6
  "license": "MIT",
@@ -19,10 +19,10 @@
19
19
  "leaferjs"
20
20
  ],
21
21
  "dependencies": {
22
- "@leafer-ui/external": "1.0.0-alpha.7"
22
+ "@leafer-ui/external": "1.0.0-alpha.9"
23
23
  },
24
24
  "devDependencies": {
25
- "@leafer/interface": "1.0.0-alpha.7",
26
- "@leafer-ui/interface": "1.0.0-alpha.7"
25
+ "@leafer/interface": "1.0.0-alpha.9",
26
+ "@leafer-ui/interface": "1.0.0-alpha.9"
27
27
  }
28
28
  }
package/src/UIRender.ts CHANGED
@@ -8,10 +8,10 @@ export const UIRender: IUIRenderModule = {
8
8
 
9
9
  __updateChange(): void {
10
10
  let data = this.__
11
- let complex = data.__isFills || data.__isStrokes || data.borderRadius || data.__useEffect
11
+ let complex = data.__isFills || data.__isStrokes || data.cornerRadius || data.__useEffect
12
12
 
13
13
  if (complex) {
14
- this.__complex || (this.__complex = true)
14
+ this.__complex = true
15
15
  } else {
16
16
  this.__complex && (this.__complex = false)
17
17
  }