@leafer/renderer 1.0.0-alpha.30 → 1.0.0-alpha.31

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/renderer",
3
- "version": "1.0.0-alpha.30",
3
+ "version": "1.0.0-alpha.31",
4
4
  "description": "@leafer/renderer",
5
5
  "author": "Chao (Leafer) Wan",
6
6
  "license": "MIT",
@@ -19,13 +19,13 @@
19
19
  "leaferjs"
20
20
  ],
21
21
  "dependencies": {
22
- "@leafer/event": "1.0.0-alpha.30",
23
- "@leafer/math": "1.0.0-alpha.30",
24
- "@leafer/data": "1.0.0-alpha.30",
25
- "@leafer/platform": "1.0.0-alpha.30",
26
- "@leafer/debug": "1.0.0-alpha.30"
22
+ "@leafer/event": "1.0.0-alpha.31",
23
+ "@leafer/math": "1.0.0-alpha.31",
24
+ "@leafer/data": "1.0.0-alpha.31",
25
+ "@leafer/platform": "1.0.0-alpha.31",
26
+ "@leafer/debug": "1.0.0-alpha.31"
27
27
  },
28
28
  "devDependencies": {
29
- "@leafer/interface": "1.0.0-alpha.30"
29
+ "@leafer/interface": "1.0.0-alpha.31"
30
30
  }
31
31
  }
@@ -33,7 +33,8 @@ export function renderBranchHitView(branch: ILeaf, canvas: ILeaferCanvas, option
33
33
 
34
34
  function renderLeafHitView(leaf: ILeaf, canvas: ILeaferCanvas, options: IRenderOptions, hasMask: boolean): void {
35
35
  if (leaf.__worldOpacity) {
36
- const { isMask, __strokeOuterWidth: strokeWidth } = leaf.__
36
+ const { isMask } = leaf.__
37
+ const { shapeStrokeSpreadWidth: strokeWidth } = leaf.__layout
37
38
  if (hasMask && !isMask) return
38
39
 
39
40
  canvas.setWorld(leaf.__world, options.matrix)