Skip to content

Commit

Permalink
Merge pull request #87 from tillvit/development
Browse files Browse the repository at this point in the history
Add delay to window resize
  • Loading branch information
tillvit authored Dec 20, 2023
2 parents d75984b + 4c3dabe commit 37a7a84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/App.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ export class App {
powerPreference: "low-power",
})

this.onResize()
setTimeout(() => this.onResize(), 1000)
this.ticker = new Ticker()
this.ticker.maxFPS = 120
this.ticker.add(() => {
Expand Down

0 comments on commit 37a7a84

Please sign in to comment.