Merge pull request #25 from H4CK3R-01/fix_resize_bug

Fixed resize bug
This commit is contained in:
H4CK3R-01
2021-06-11 10:08:06 +02:00
committed by GitHub

View File

@@ -64,7 +64,7 @@ let sprites = [
function start_game() { function start_game() {
app = new PIXI.Application({ app = new PIXI.Application({
autoResize: true, autoResize: true,
resolution: devicePixelRatio, resolution: 1,
backgroundAlpha: 0, backgroundAlpha: 0,
width: max_size / game_board_size, width: max_size / game_board_size,
height: max_size / game_board_size height: max_size / game_board_size