From 0680930f785902e7555768b3ee7aca8ae541a31c Mon Sep 17 00:00:00 2001 From: H4CK3R-01 Date: Fri, 11 Jun 2021 10:07:38 +0200 Subject: [PATCH] Fixed resize bug --- public/js/game.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/js/game.js b/public/js/game.js index d46caa8..dfc5076 100644 --- a/public/js/game.js +++ b/public/js/game.js @@ -64,7 +64,7 @@ let sprites = [ function start_game() { app = new PIXI.Application({ autoResize: true, - resolution: devicePixelRatio, + resolution: 1, backgroundAlpha: 0, width: max_size / game_board_size, height: max_size / game_board_size