1
0
Fork 0
mirror of https://github.com/Acamaeda/The-Modding-Tree.git synced 2025-05-10 12:01:32 +00:00

More work on tab shenanigans

This commit is contained in:
Acamaeda 2020-10-29 21:49:34 -04:00
parent 1a83d63711
commit 5c16bbbbbd
5 changed files with 41 additions and 48 deletions

View file

@ -3,7 +3,7 @@ var layoutInfo = {
startTab: "none",
showTree: true,
treeLayout: ""
//treeLayout: ""
}
@ -42,3 +42,7 @@ addNode("h", {
onClick() {player.points = new Decimal(10)}
},
)
addLayer("tree-tab", {
tabFormat: [["tree", function() {return (layoutInfo.treeLayout ? layoutInfo.treeLayout : TREE_LAYERS)}]]
})