Skip to content

Commit

Permalink
Fix index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasmerlin committed Dec 11, 2023
1 parent a2cdc00 commit 2eff043
Showing 1 changed file with 18 additions and 2 deletions.
20 changes: 18 additions & 2 deletions wasm/index.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,23 @@
<!doctype html>
<html lang="en">

<body style="margin: 0px;">
<head>
<title>Tower Thrower</title>
<style>
html, head, body {
margin: 0;
padding: 0;
width: 100%;
height: 100%;
overflow: hidden;
}
</style>
</head>
<body>
<script>
document.oncontextmenu = function (e) {
e.preventDefault();
};
</script>
<script type="module">
import './restart-audio-context.js'
import init from './bevy_game.js'
Expand Down

0 comments on commit 2eff043

Please sign in to comment.