Reduce booleans.

This commit is contained in:
Richard Davey 2015-07-12 16:19:23 +01:00
parent 44c650f6e7
commit 8b165b9225

View file

@ -926,7 +926,7 @@ Phaser.InputHandler.prototype = {
return;
}
if (this._pointerData[pointer.id].isDown === false && this._pointerData[pointer.id].isOver === true)
if (!this._pointerData[pointer.id].isDown && this._pointerData[pointer.id].isOver)
{
if (this.pixelPerfectClick && !this.checkPixel(null, null, pointer))
{