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
commit 4167ad06f3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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