@leafer/display 1.12.0 → 1.12.1
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 +12 -12
- package/src/Leaf.ts +2 -2
- package/types/index.d.ts +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@leafer/display",
|
|
3
|
-
"version": "1.12.
|
|
3
|
+
"version": "1.12.1",
|
|
4
4
|
"description": "@leafer/display",
|
|
5
5
|
"author": "Chao (Leafer) Wan",
|
|
6
6
|
"license": "MIT",
|
|
@@ -22,18 +22,18 @@
|
|
|
22
22
|
"leaferjs"
|
|
23
23
|
],
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@leafer/math": "1.12.
|
|
26
|
-
"@leafer/data": "1.12.
|
|
27
|
-
"@leafer/layout": "1.12.
|
|
28
|
-
"@leafer/display-module": "1.12.
|
|
29
|
-
"@leafer/event": "1.12.
|
|
30
|
-
"@leafer/decorator": "1.12.
|
|
31
|
-
"@leafer/helper": "1.12.
|
|
32
|
-
"@leafer/image": "1.12.
|
|
33
|
-
"@leafer/debug": "1.12.
|
|
34
|
-
"@leafer/platform": "1.12.
|
|
25
|
+
"@leafer/math": "1.12.1",
|
|
26
|
+
"@leafer/data": "1.12.1",
|
|
27
|
+
"@leafer/layout": "1.12.1",
|
|
28
|
+
"@leafer/display-module": "1.12.1",
|
|
29
|
+
"@leafer/event": "1.12.1",
|
|
30
|
+
"@leafer/decorator": "1.12.1",
|
|
31
|
+
"@leafer/helper": "1.12.1",
|
|
32
|
+
"@leafer/image": "1.12.1",
|
|
33
|
+
"@leafer/debug": "1.12.1",
|
|
34
|
+
"@leafer/platform": "1.12.1"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
|
-
"@leafer/interface": "1.12.
|
|
37
|
+
"@leafer/interface": "1.12.1"
|
|
38
38
|
}
|
|
39
39
|
}
|
package/src/Leaf.ts
CHANGED
|
@@ -567,9 +567,9 @@ export class Leaf<TInputData = ILeafInputData> implements ILeaf {
|
|
|
567
567
|
|
|
568
568
|
public hit(_world: IPointData, _hitRadius?: number): boolean { return true }
|
|
569
569
|
|
|
570
|
-
public __hitWorld(_point: IRadiusPointData): boolean { return true }
|
|
570
|
+
public __hitWorld(_point: IRadiusPointData, _forceHitFill?: boolean): boolean { return true }
|
|
571
571
|
|
|
572
|
-
public __hit(_local: IRadiusPointData): boolean { return true }
|
|
572
|
+
public __hit(_local: IRadiusPointData, _forceHitFill?: boolean): boolean { return true }
|
|
573
573
|
|
|
574
574
|
public __hitFill(_inner: IRadiusPointData): boolean { return true }
|
|
575
575
|
|
package/types/index.d.ts
CHANGED
|
@@ -152,8 +152,8 @@ declare class Leaf<TInputData = ILeafInputData> implements ILeaf {
|
|
|
152
152
|
resizeWidth(_width: number): void;
|
|
153
153
|
resizeHeight(_height: number): void;
|
|
154
154
|
hit(_world: IPointData, _hitRadius?: number): boolean;
|
|
155
|
-
__hitWorld(_point: IRadiusPointData): boolean;
|
|
156
|
-
__hit(_local: IRadiusPointData): boolean;
|
|
155
|
+
__hitWorld(_point: IRadiusPointData, _forceHitFill?: boolean): boolean;
|
|
156
|
+
__hit(_local: IRadiusPointData, _forceHitFill?: boolean): boolean;
|
|
157
157
|
__hitFill(_inner: IRadiusPointData): boolean;
|
|
158
158
|
__hitStroke(_inner: IRadiusPointData, _strokeWidth: number): boolean;
|
|
159
159
|
__hitPixel(_inner: IRadiusPointData): boolean;
|