Skip to content

Commit

Permalink
Remove deprecation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Zikoat committed Aug 2, 2024
1 parent f0006ba commit b552002
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/FieldRenderer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ PIXI.BaseTexture.defaultOptions.scaleMode = PIXI.SCALE_MODES.NEAREST;

const fieldContainer = new PIXI.Container();
const clickHandler = new PIXI.Container();
clickHandler.interactive = true;
clickHandler.eventMode = "static";
app.stage.addChild(clickHandler);

function updateCell(field: Field, cell: Cell & { sprite?: CellSprite }) {
Expand Down

0 comments on commit b552002

Please sign in to comment.