From a714c34b2eac76e657fb323682efd6a49e00f5d0 Mon Sep 17 00:00:00 2001 From: Dominik George <nik@naturalnet.de> Date: Sun, 25 Apr 2021 01:03:40 +0200 Subject: [PATCH] Fix width and height --- src/frontend/game.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/frontend/game.js b/src/frontend/game.js index 904af25..b3becde 100644 --- a/src/frontend/game.js +++ b/src/frontend/game.js @@ -21,8 +21,8 @@ class Game extends Phaser.Game { constructor(backend) { let config = { type: Phaser.AUTO, - width: window.innerWidth * window.devicePixelRatio, - height: window.innerHeight * window.devicePixelRatio, + width: window.innerWidth, + height: window.innerHeight, scene: TestScene, }; -- GitLab