Skip to content

Commit a85f246

Browse files
committed
Add viewport, remove canvas style
1 parent 4045d77 commit a85f246

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

demo/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<!DOCTYPE html>
22
<meta charset="utf-8">
3+
<meta name="viewport" content="width=512">
34
<style>
45
html,
56
body {
@@ -13,7 +14,6 @@
1314
}
1415

1516
canvas {
16-
display: block;
1717
}
1818
</style>
1919
<title>Demo of Phaser 3 Debug Game Scale Plugin</title>
@@ -22,4 +22,4 @@
2222
<script src="../node_modules/phaser/dist/phaser.js"></script>
2323
<script src="../dist/phaser-plugin-debug-game-scale.umd.js"></script>
2424
<script src="./demo.js"></script>
25-
</body>
25+
</body>

0 commit comments

Comments
 (0)