@next2d/display 3.0.2 → 3.0.4
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": "@next2d/display",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.4",
|
|
4
4
|
"description": "Next2D Display Package",
|
|
5
5
|
"author": "Toshiyuki Ienaga<ienaga@next2d.app> (https://github.com/ienaga/)",
|
|
6
6
|
"license": "MIT",
|
|
@@ -24,13 +24,13 @@
|
|
|
24
24
|
"url": "git+https://github.com/Next2D/Player.git"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@next2d/ui": "3.0.
|
|
28
|
-
"@next2d/text": "3.0.
|
|
29
|
-
"@next2d/geom": "3.0.
|
|
30
|
-
"@next2d/media": "3.0.
|
|
31
|
-
"@next2d/net": "3.0.
|
|
32
|
-
"@next2d/events": "3.0.
|
|
33
|
-
"@next2d/filters": "3.0.
|
|
34
|
-
"@next2d/render-queue": "3.0.
|
|
27
|
+
"@next2d/ui": "3.0.4",
|
|
28
|
+
"@next2d/text": "3.0.4",
|
|
29
|
+
"@next2d/geom": "3.0.4",
|
|
30
|
+
"@next2d/media": "3.0.4",
|
|
31
|
+
"@next2d/net": "3.0.4",
|
|
32
|
+
"@next2d/events": "3.0.4",
|
|
33
|
+
"@next2d/filters": "3.0.4",
|
|
34
|
+
"@next2d/render-queue": "3.0.4"
|
|
35
35
|
}
|
|
36
36
|
}
|
|
@@ -64,7 +64,8 @@ export const execute = (display_object_container, hit_context, matrix, hit_objec
|
|
|
64
64
|
const mouseChildren = display_object_container.mouseChildren && mouse_children;
|
|
65
65
|
// fixed logic
|
|
66
66
|
if (display_object_container.isSprite
|
|
67
|
-
&& display_object_container.hitArea
|
|
67
|
+
&& display_object_container.hitArea
|
|
68
|
+
&& display_object_container.hitArea.isSprite) {
|
|
68
69
|
const hitTest = execute(display_object_container.hitArea, hit_context, tMatrix, hit_object, mouseChildren);
|
|
69
70
|
if (hitTest
|
|
70
71
|
&& mouseChildren
|
package/src/Sprite.d.ts
CHANGED
|
@@ -46,9 +46,9 @@ export declare class Sprite extends DisplayObjectContainer {
|
|
|
46
46
|
* Designates another sprite to serve as the hit area for a sprite.
|
|
47
47
|
*
|
|
48
48
|
* @type {Sprite|null}
|
|
49
|
-
* @
|
|
49
|
+
* @public
|
|
50
50
|
*/
|
|
51
|
-
hitArea: ISprite<
|
|
51
|
+
hitArea: ISprite<Sprite> | null;
|
|
52
52
|
/**
|
|
53
53
|
* @type {SoundTransform|null}
|
|
54
54
|
* @private
|
package/src/Sprite.js
CHANGED