@leafer/display 1.0.0-rc.23 → 1.0.0-rc.25

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 +10 -10
  2. package/src/Leaf.ts +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leafer/display",
3
- "version": "1.0.0-rc.23",
3
+ "version": "1.0.0-rc.25",
4
4
  "description": "@leafer/display",
5
5
  "author": "Chao (Leafer) Wan",
6
6
  "license": "MIT",
@@ -22,16 +22,16 @@
22
22
  "leaferjs"
23
23
  ],
24
24
  "dependencies": {
25
- "@leafer/math": "1.0.0-rc.23",
26
- "@leafer/data": "1.0.0-rc.23",
27
- "@leafer/layout": "1.0.0-rc.23",
28
- "@leafer/display-module": "1.0.0-rc.23",
29
- "@leafer/event": "1.0.0-rc.23",
30
- "@leafer/decorator": "1.0.0-rc.23",
31
- "@leafer/helper": "1.0.0-rc.23",
32
- "@leafer/platform": "1.0.0-rc.23"
25
+ "@leafer/math": "1.0.0-rc.25",
26
+ "@leafer/data": "1.0.0-rc.25",
27
+ "@leafer/layout": "1.0.0-rc.25",
28
+ "@leafer/display-module": "1.0.0-rc.25",
29
+ "@leafer/event": "1.0.0-rc.25",
30
+ "@leafer/decorator": "1.0.0-rc.25",
31
+ "@leafer/helper": "1.0.0-rc.25",
32
+ "@leafer/platform": "1.0.0-rc.25"
33
33
  },
34
34
  "devDependencies": {
35
- "@leafer/interface": "1.0.0-rc.23"
35
+ "@leafer/interface": "1.0.0-rc.25"
36
36
  }
37
37
  }
package/src/Leaf.ts CHANGED
@@ -80,7 +80,7 @@ export class Leaf implements ILeaf {
80
80
  public get __onlyHitMask(): boolean { return this.__hasMask && !this.__.hitChildren }
81
81
  public get __ignoreHitWorld(): boolean { return (this.__hasMask || this.__hasEraser) && this.__.hitChildren }
82
82
 
83
- public get pathInputed(): boolean { return !!this.__.__pathInputed }
83
+ public get pathInputed(): boolean { return this.__.__pathInputed as unknown as boolean }
84
84
 
85
85
  // event
86
86
  public __captureMap?: IEventListenerMap