Skip to content

Commit

Permalink
Merge pull request #436 from Axsag/master
Browse files Browse the repository at this point in the history
PIXI v7.2 deprecation interactive
  • Loading branch information
davidfig committed Aug 16, 2023
2 parents 3a25aec + 710986d commit 43008d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/InputManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export class InputManager
/** Add input listeners */
private addListeners()
{
this.viewport.interactive = true;
this.viewport.eventMode = 'static';
if (!this.viewport.forceHitArea)
{
this.viewport.hitArea = new Rectangle(0, 0, this.viewport.worldWidth, this.viewport.worldHeight);
Expand Down

0 comments on commit 43008d6

Please sign in to comment.