@leafer/decorator 1.0.0-rc.25 → 1.0.0-rc.27

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.25",
3
+ "version": "1.0.0-rc.27",
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.25",
26
- "@leafer/debug": "1.0.0-rc.25"
25
+ "@leafer/platform": "1.0.0-rc.27",
26
+ "@leafer/debug": "1.0.0-rc.27"
27
27
  },
28
28
  "devDependencies": {
29
- "@leafer/interface": "1.0.0-rc.25"
29
+ "@leafer/interface": "1.0.0-rc.27"
30
30
  }
31
31
  }
package/src/data.ts CHANGED
@@ -188,6 +188,7 @@ export function hitType(defaultValue?: IValue) {
188
188
  return decorateLeafAttr(defaultValue, (key: string) => attr({
189
189
  set(value: IValue) {
190
190
  if (this.__setAttr(key, value)) {
191
+ this.__layout.hitCanvasChanged = true
191
192
  if (Debug.showHitView) { this.__layout.surfaceChanged || this.__layout.surfaceChange() }
192
193
  if (this.leafer) this.leafer.updateCursor()
193
194
  }