diff --git a/frontend/src/features/core/logic/Game.ts b/frontend/src/features/core/logic/Game.ts index 963b0338..6e4cd17d 100644 --- a/frontend/src/features/core/logic/Game.ts +++ b/frontend/src/features/core/logic/Game.ts @@ -64,10 +64,12 @@ export class Game implements IGame { private backend: IBackend; public get width(): number { + // FIXME Doesn't take browser zoom into consideration return this.application.canvas.width / this.renderResolution; } public get height(): number { + // FIXME Doesn't take browser zoom into consideration return this.application.canvas.height / this.renderResolution; }