mirror of
https://github.com/Acamaeda/The-Modding-Tree.git
synced 2024-11-24 17:31:50 +00:00
Stuff
This commit is contained in:
parent
affdd85133
commit
f08bae4b40
3 changed files with 5 additions and 2 deletions
|
@ -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">
|
||||||
|
|
|
@ -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]
|
||||||
|
|
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue