1
0
Fork 0
mirror of https://github.com/Acamaeda/The-Modding-Tree.git synced 2024-11-21 16:13:55 +00:00
This commit is contained in:
Harley White 2021-06-06 23:51:50 -04:00
parent affdd85133
commit f08bae4b40
3 changed files with 5 additions and 2 deletions

View file

@ -32,7 +32,7 @@
</head>
<body onload="load()" onmousemove="updateMouse(event)">
<div id="app">
<div id="app" v-bind:style = "tmp.backgroundStyle">
<canvas id="treeCanvas" class="canvas" v-if="!(gameEnded && !player.keepGoing)"></canvas>
<div v-if="false" id="loadingSection" class="fullWidth">

View file

@ -25,6 +25,7 @@ var traversableClasses = []
function setupTemp() {
tmp = {}
tmp.pointGen = {}
tmp.backgroundStyle = {}
tmp.displayThings = []
tmp.scrolled = 0
funcs = {}
@ -103,6 +104,8 @@ function updateTemp() {
}
tmp.pointGen = getPointGen()
tmp.backgroundStyle = readData(backgroundStyle)
tmp.displayThings = []
for (thing in displayThings){
let text = displayThings[thing]

View file

@ -765,7 +765,7 @@ button > * {
width: 100%;
height: 100%;
position: absolute;
background-color: var(--background);
background-color: transparent;
top: 0
}