@leafer-ui/effect 1.9.0 → 1.9.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leafer-ui/effect",
3
- "version": "1.9.0",
3
+ "version": "1.9.2",
4
4
  "description": "@leafer-ui/effect",
5
5
  "author": "Chao (Leafer) Wan",
6
6
  "license": "MIT",
@@ -22,11 +22,11 @@
22
22
  "leaferjs"
23
23
  ],
24
24
  "dependencies": {
25
- "@leafer/core": "1.9.0",
26
- "@leafer-ui/draw": "1.9.0"
25
+ "@leafer/core": "1.9.2",
26
+ "@leafer-ui/draw": "1.9.2"
27
27
  },
28
28
  "devDependencies": {
29
- "@leafer/interface": "1.9.0",
30
- "@leafer-ui/interface": "1.9.0"
29
+ "@leafer/interface": "1.9.2",
30
+ "@leafer-ui/interface": "1.9.2"
31
31
  }
32
32
  }
@@ -55,7 +55,7 @@ export function innerShadow(ui: IUI, current: ILeaferCanvas, shape: ICachedShape
55
55
 
56
56
  LeafHelper.copyCanvasByWorld(ui, current, other, copyBounds, item.blendMode)
57
57
 
58
- if (end && index < end) other.clearWorld(copyBounds, true)
58
+ if (end && index < end) other.clearWorld(copyBounds)
59
59
 
60
60
  })
61
61
 
package/src/Shadow.ts CHANGED
@@ -54,7 +54,7 @@ export function shadow(ui: IUI, current: ILeaferCanvas, shape: ICachedShape): vo
54
54
 
55
55
  LeafHelper.copyCanvasByWorld(ui, current, other, copyBounds, item.blendMode)
56
56
 
57
- if (end && index < end) other.clearWorld(copyBounds, true)
57
+ if (end && index < end) other.clearWorld(copyBounds)
58
58
  })
59
59
 
60
60
  other.recycle(copyBounds)