mirror of
https://github.com/photonstorm/phaser
synced 2024-11-27 15:12:18 +00:00
Renable input on Phaser.Image fix
This commit is contained in:
parent
b01ad969ab
commit
8400df1b33
1 changed files with 1 additions and 1 deletions
|
@ -683,7 +683,7 @@ Object.defineProperty(Phaser.Image.prototype, "inputEnabled", {
|
|||
|
||||
if (value)
|
||||
{
|
||||
if (this.input === null)
|
||||
if (!this.input)
|
||||
{
|
||||
this.input = new Phaser.InputHandler(this);
|
||||
this.input.start();
|
||||
|
|
Loading…
Reference in a new issue