Fixed InputHandler group check #463

This commit is contained in:
photonstorm
2014-02-21 10:06:53 +00:00
parent 008badcf79
commit 251b819bdb
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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;
+1 -1
View File
@@ -66,7 +66,7 @@ Phaser.TilemapParser = {
},
/**
* Parse tileset data from the cache and creates a Tileset object.
* Parse tilemap data from the cache and creates a Tilemap object.
* @method Phaser.TilemapParser.parse
* @param {Phaser.Game} game - Game reference to the currently running game.
* @param {string} key - The key of the tilemap in the Cache.