Github Issue #101 fixed. Plus more Tilemap updates.

This commit is contained in:
photonstorm
2013-10-11 20:02:12 +01:00
parent 0201baef11
commit 574f4f351b
4 changed files with 88 additions and 52 deletions
+2 -4
View File
@@ -247,7 +247,7 @@ Phaser.Pointer.prototype = {
this.identifier = event.identifier;
this.target = event.target;
if (event.button)
if (typeof event.button !== 'undefined')
{
this.button = event.button;
}
@@ -351,7 +351,7 @@ Phaser.Pointer.prototype = {
return;
}
if (event.button)
if (typeof event.button !== 'undefined')
{
this.button = event.button;
}
@@ -430,8 +430,6 @@ Phaser.Pointer.prototype = {
if (this._highestRenderObject == null)
{
// console.log("HRO null");
// The pointer isn't currently over anything, check if we've got a lingering previous target
if (this.targetObject)
{