1
0
Fork 0
mirror of https://github.com/Acamaeda/The-Modding-Tree.git synced 2024-12-04 05:41:30 +00:00
The-Modding-Tree/js/tree.js
2021-05-27 00:54:58 -04:00

23 lines
No EOL
402 B
JavaScript

var layoutInfo = {
startTab: "none",
startNavTab: "tree-tab",
showTree: true,
treeLayout: ""
}
// A "ghost" layer which offsets other layers in the tree
addNode("blank", {
layerShown: "ghost",
},
)
addLayer("tree-tab", {
tabFormat: [["tree", function() {return (layoutInfo.treeLayout ? layoutInfo.treeLayout : TREE_LAYERS)}]],
previousTab: "",
leftTab: true,
})