1
0
Fork 0
mirror of https://github.com/Acamaeda/The-Modding-Tree.git synced 2024-11-22 16:35:43 +00:00
The-Modding-Tree/js/tree.js

23 lines
402 B
JavaScript
Raw Normal View History

2020-10-29 18:57:42 +00:00
var layoutInfo = {
startTab: "none",
2021-05-27 04:54:58 +00:00
startNavTab: "tree-tab",
2020-10-29 18:57:42 +00:00
showTree: true,
treeLayout: ""
}
// A "ghost" layer which offsets other layers in the tree
addNode("blank", {
2020-10-29 18:57:42 +00:00
layerShown: "ghost",
},
)
2020-10-30 01:49:34 +00:00
2020-10-30 01:49:34 +00:00
addLayer("tree-tab", {
2021-05-26 05:44:12 +00:00
tabFormat: [["tree", function() {return (layoutInfo.treeLayout ? layoutInfo.treeLayout : TREE_LAYERS)}]],
previousTab: "",
leftTab: true,
2020-10-30 01:49:34 +00:00
})