Code structuring

Also, use a fixed-size canvas for now.
This commit is contained in:
Matthias Schiffer 2017-09-11 23:24:13 +02:00
parent 4a67ba6830
commit a5e69edc5a
Signed by: neocturne
GPG key ID: 16EF3F64CB201D9C
7 changed files with 181 additions and 144 deletions

6
dist/index.html vendored
View file

@ -9,8 +9,8 @@
height: 100%;
}
canvas {
position: absolute;
body {
text-align: center;
}
* {
@ -21,7 +21,7 @@
</style>
</head>
<body>
<canvas id="rpgedit"></canvas>
<canvas id="rpgedit" width="1024" height="768"></canvas>
<script src="bundle.js"></script>
</body>
</html>