mirror of
https://github.com/photonstorm/phaser
synced 2024-11-27 07:01:20 +00:00
Reduce booleans.
This commit is contained in:
parent
44c650f6e7
commit
8b165b9225
1 changed files with 1 additions and 1 deletions
|
@ -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))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue