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:
parent
1a83d63711
commit
5c16bbbbbd
5 changed files with 41 additions and 48 deletions
js/Demo
|
@ -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)}]]
|
||||
})
|
Loading…
Add table
Add a link
Reference in a new issue