Skip to content

Commit

Permalink
hook to window for devtool
Browse files Browse the repository at this point in the history
  • Loading branch information
tiye committed Apr 5, 2024
1 parent 4733e28 commit 93e80ac
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ let main = async () => {
// make sure to use the WebGPU renderer
preference: "webgpu",
});
globalThis.__PIXI_APP__ = app;

document.body.appendChild(app.canvas);

Expand Down

0 comments on commit 93e80ac

Please sign in to comment.