diff --git a/src/main.js b/src/main.js index f0d7d46..26a626b 100644 --- a/src/main.js +++ b/src/main.js @@ -1388,8 +1388,8 @@ const game = new Phaser.Game({ pixelArt: false }, scale: { - mode: Phaser.Scale.NONE, - autoCenter: Phaser.Scale.NO_CENTER, + mode: Phaser.Scale.FIT, + autoCenter: Phaser.Scale.CENTER_HORIZONTALLY, width: WIDTH, height: HEIGHT }, @@ -1400,7 +1400,7 @@ const game = new Phaser.Game({ }) window.__DOLLHOUSE__ = { - version: '0.10.2', + version: '0.10.3', game, async resetAll() { await clearGameState() diff --git a/src/style.css b/src/style.css index 52d6b53..b850969 100644 --- a/src/style.css +++ b/src/style.css @@ -40,13 +40,3 @@ canvas { box-shadow: 0 6px 18px rgb(122 61 91 / 24%); } -#game { - display: flex; - align-items: stretch; - justify-content: center; -} -#game > canvas { - width: 100% !important; - height: 100% !important; - margin: 0 !important; -}