Code structuring
Also, use a fixed-size canvas for now.
This commit is contained in:
parent
4a67ba6830
commit
a5e69edc5a
7 changed files with 181 additions and 144 deletions
6
dist/index.html
vendored
6
dist/index.html
vendored
|
@ -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>
|
||||
|
|
Reference in a new issue