Fixed resize bug

This commit is contained in:
Administrator 2021-06-11 10:07:38 +02:00
parent 69ca6138ef
commit 0680930f78

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