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> </head>
<body onload="load()" onmousemove="updateMouse(event)"> <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> <canvas id="treeCanvas" class="canvas" v-if="!(gameEnded && !player.keepGoing)"></canvas>
<div v-if="false" id="loadingSection" class="fullWidth"> <div v-if="false" id="loadingSection" class="fullWidth">

View file

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

View file

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