Skip to content

Commit 8400df1

Browse files
committed
Renable input on Phaser.Image fix
1 parent b01ad96 commit 8400df1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/gameobjects/Image.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -683,7 +683,7 @@ Object.defineProperty(Phaser.Image.prototype, "inputEnabled", {
683683

684684
if (value)
685685
{
686-
if (this.input === null)
686+
if (!this.input)
687687
{
688688
this.input = new Phaser.InputHandler(this);
689689
this.input.start();

0 commit comments

Comments
 (0)