@leafer-ui/effect 1.0.0-alpha.23 → 1.0.0-alpha.30

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leafer-ui/effect",
3
- "version": "1.0.0-alpha.23",
3
+ "version": "1.0.0-alpha.30",
4
4
  "description": "@leafer-ui/effect",
5
5
  "author": "Chao (Leafer) Wan",
6
6
  "license": "MIT",
@@ -12,7 +12,7 @@ export function innerShadow(ui: IUI, current: ILeaferCanvas, shape: ICachedShape
12
12
 
13
13
  let copyBounds: IBoundsData
14
14
 
15
- const { __world, __layout } = ui
15
+ const { __world, __layout: __layout } = ui
16
16
  const { innerShadow } = ui.__
17
17
  const { worldCanvas, bounds, shapeBounds, scaleX, scaleY } = shape
18
18
 
package/src/Shadow.ts CHANGED
@@ -12,7 +12,7 @@ export function shadow(ui: IUI, current: ILeaferCanvas, shape: ICachedShape): vo
12
12
 
13
13
  let copyBounds: IBoundsData
14
14
 
15
- const { __world, __layout } = ui
15
+ const { __world, __layout: __layout } = ui
16
16
  const { shadow } = ui.__
17
17
  const { worldCanvas, bounds, shapeBounds, scaleX, scaleY } = shape
18
18