Closed kylegranger closed 1 year ago
I do sometimes get inconsistent results, so I still have to use window dimensions in the CApp constructor.
this.canvas = canvas this.canvas.width = window.innerWidth this.canvas.height = window.innerHeight - NAVBAR_HEIGHT
The latest updates on your projects. Learn more about Vercel for Git ↗︎
I do sometimes get inconsistent results, so I still have to use window dimensions in the CApp constructor.