@leafer/decorator 1.0.0-rc.16 → 1.0.0-rc.18

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/data.ts +1 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leafer/decorator",
3
- "version": "1.0.0-rc.16",
3
+ "version": "1.0.0-rc.18",
4
4
  "description": "@leafer/decorator",
5
5
  "author": "Chao (Leafer) Wan",
6
6
  "license": "MIT",
@@ -22,10 +22,10 @@
22
22
  "leaferjs"
23
23
  ],
24
24
  "dependencies": {
25
- "@leafer/platform": "1.0.0-rc.16",
26
- "@leafer/debug": "1.0.0-rc.16"
25
+ "@leafer/platform": "1.0.0-rc.18",
26
+ "@leafer/debug": "1.0.0-rc.18"
27
27
  },
28
28
  "devDependencies": {
29
- "@leafer/interface": "1.0.0-rc.16"
29
+ "@leafer/interface": "1.0.0-rc.18"
30
30
  }
31
31
  }
package/src/data.ts CHANGED
@@ -126,6 +126,7 @@ export function affectStrokeBoundsType(defaultValue?: IValue) {
126
126
 
127
127
  export function doStrokeType(leaf: ILeaf): void {
128
128
  leaf.__layout.strokeChanged || leaf.__layout.strokeChange()
129
+ if (leaf.__.__useArrow) doBoundsType(leaf)
129
130
  }
130
131
 
131
132
  export const strokeType = affectStrokeBoundsType