Skip to content

Commit

Permalink
PIXI v7.2 deprecation on interactive
Browse files Browse the repository at this point in the history
  • Loading branch information
axel committed Mar 17, 2023
1 parent 3a25aec commit 710986d
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 710986d

Please sign in to comment.