+
-
-
-
Dev Speed: {{format(player.devSpeed)}}x
-
-
-
Offline Time: {{formatTime(player.offTime.remain)}}
-
-
-
Reach {{formatWhole(ENDGAME)}} to beat the game!
-
-
-
You have
-
{{format(player.points)}}
-
{{modInfo.pointsName}}
-
-
({{format(getPointGen())}}/sec)
-
-
-
-
-
-
-
-
Dev Speed: {{format(player.devSpeed)}}x
-
-
-
Offline Time: {{formatTime(player.offTime.remain)}}
-
-
-
Reach {{formatWhole(ENDGAME)}} to beat the game!
-
-
-
You have
-
{{format(player.points)}}
-
{{modInfo.pointsName}}
-
-
({{format(getPointGen())}}/sec)
-
-
+
+
-
-
+
+
+
+
diff --git a/js/tree.js b/js/tree.js
index 213dc4c..3c51c6f 100644
--- a/js/tree.js
+++ b/js/tree.js
@@ -14,6 +14,7 @@ addNode("spook", {
},
)
+
addLayer("tree-tab", {
- tabFormat: ["tree", function() {layoutInfo.treeLayout ? layoutInfo.treeLayout : TREE_LAYERS}]
+ tabFormat: [["tree", function() {return (layoutInfo.treeLayout ? layoutInfo.treeLayout : TREE_LAYERS)}]]
})
\ No newline at end of file
diff --git a/js/utils.js b/js/utils.js
index cdb119e..c44ff02 100644
--- a/js/utils.js
+++ b/js/utils.js
@@ -100,6 +100,7 @@ function startPlayerBase() {
showStory: true,
points: modInfo.initialStartPoints,
subtabs: {},
+ lastSafeTab: (layoutInfo.showTree ? "none" : "layoutInfo.startTab")
}
}
@@ -601,14 +602,14 @@ function showTab(name) {
var toTreeTab = name == "none"
player.tab = name
-
+ if (player.navTab == "none" && (tmp[name].row !== "side") && (tmp[name].row !== "otherside")) player.lastSafeTab = name
delete player.notify[name]
needCanvasUpdate = true
}
function goBack() {
if (player.navTab !== "none") showTab("none")
- else showTab(layoutInfo.startTab)
+ else showTab(player.lastSafeTab)
}
function notifyLayer(name) {
diff --git a/style.css b/style.css
index ab17ab4..e85e246 100644
--- a/style.css
+++ b/style.css
@@ -74,6 +74,7 @@ h1, h2, h3, b, input {
font-family: "Lucida Console", "Courier New", monospace;
color: rgba(0, 0, 0, 0.5);
text-shadow: var(--hqProperty3);
+ padding: 0;
}
@@ -88,6 +89,8 @@ h1, h2, h3, b, input {
font-family: "Lucida Console", "Courier New", monospace;
color: rgba(0, 0, 0, 0.5);
text-shadow: var(--hqProperty3);
+ padding: 0;
+
}
.smallNode {
@@ -101,6 +104,8 @@ h1, h2, h3, b, input {
font-family: "Lucida Console", "Courier New", monospace;
color: rgba(0, 0, 0, 0.5);
text-shadow: var(--hqProperty3);
+ padding: 0;
+
}
@@ -156,7 +161,7 @@ h1, h2, h3, b, input {
.other-back {
position: absolute;
- top: 10px;
+ top: 0px;
left: 60px;
background-color: transparent;
border: 1px solid transparent;