Skip to content

Commit

Permalink
Remove zoom from the css
Browse files Browse the repository at this point in the history
  • Loading branch information
pierpo committed Oct 17, 2018
1 parent 614db4c commit bc7224f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
</head>

<body style="margin: 0; height: 100vh">
<div style="display: flex; align-items: center; justify-content: center; height: 100%; zoom: 2.5;">
<div style="display: flex; align-items: center; justify-content: center; height: 100%;">
<div id="game-container" />
</div>
</body>
Expand Down
1 change: 1 addition & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ class PhaserGame extends Phaser.Game {
parent: 'game-container',
width: 400,
height: 250,
zoom: 2.5,
pixelArt: true,
physics: {
default: 'arcade',
Expand Down

0 comments on commit bc7224f

Please sign in to comment.