build css mostly

This commit is contained in:
landgreen
2019-12-04 06:54:13 -08:00
parent 8d7a70aa57
commit 7926952049
7 changed files with 71 additions and 51 deletions

View File

@@ -457,7 +457,7 @@ const game = {
document.getElementById("controls").style.display = "inline";
document.getElementById("build-button").style.display = "inline"
isShowingBuilds = false
// document.getElementById("settings").style.display = "inline";
document.getElementById("settings").style.display = "inline";
document.getElementById("splash").style.display = "inline";
document.getElementById("dmg").style.display = "none";
document.getElementById("health-bg").style.display = "none";
@@ -470,6 +470,7 @@ const game = {
document.body.style.overflow = "hidden"
document.getElementById("build-grid").style.display = "none"
document.getElementById("controls").style.display = "none";
document.getElementById("settings").style.display = "none";
document.getElementById("build-button").style.display = "none";
document.getElementById("splash").onclick = null; //removes the onclick effect so the function only runs once
document.getElementById("splash").style.display = "none"; //hides the element that spawned the function