mirror of
https://github.com/wassname/phaser.git
synced 2026-10-30 13:30:49 +08:00
Fixed InputHandler group check #463
This commit is contained in:
1 parent
008badcf79
commit
251b819bdb
2 files changed
+2
-2
No files matched your search
@@ -628,7 +628,7 @@ Phaser.InputHandler.prototype = {
|
||||
return;
|
||||
}
|
||||
|
||||
if (this.enabled === false || this.sprite.visible === false || (this.sprite.group && this.sprite.group.visible === false))
|
||||
if (!this.enabled || !this.sprite.visible || !this.sprite.parent.visible)
|
||||
{
|
||||
this._pointerOutHandler(pointer);
|
||||
return false;
|
||||
|
||||
Reference in new issue
Block a user