mirror of
https://github.com/photonstorm/phaser
synced 2024-11-10 23:24:41 +00:00
Fixed small boolean check error.
This commit is contained in:
parent
f78a527ad5
commit
64000dfcb6
1 changed files with 2 additions and 2 deletions
|
@ -655,7 +655,7 @@ Phaser.InputHandler.prototype = {
|
|||
{
|
||||
if (typeof fastTest === 'undefined') { fastTest = false; }
|
||||
|
||||
if (fastTest && this.pixelPerfectClick)
|
||||
if (!fastTest && this.pixelPerfectClick)
|
||||
{
|
||||
return this.checkPixel(this._tempPoint.x, this._tempPoint.y);
|
||||
}
|
||||
|
@ -690,7 +690,7 @@ Phaser.InputHandler.prototype = {
|
|||
{
|
||||
if (typeof fastTest === 'undefined') { fastTest = false; }
|
||||
|
||||
if (fastTest && this.pixelPerfectOver)
|
||||
if (!fastTest && this.pixelPerfectOver)
|
||||
{
|
||||
return this.checkPixel(this._tempPoint.x, this._tempPoint.y);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue