The-Modding-Tree/js/tree.js

20 lines
332 B
JavaScript
Raw Normal View History

2020-10-29 14:57:42 -04:00
var layoutInfo = {
startTab: "none",
showTree: true,
treeLayout: ""
}
// A "ghost" layer which offsets other layers in the tree
addNode("spook", {
layerShown: "ghost",
},
)
2020-10-29 21:49:34 -04:00
2020-10-29 21:49:34 -04:00
addLayer("tree-tab", {
tabFormat: [["tree", function() {return (layoutInfo.treeLayout ? layoutInfo.treeLayout : TREE_LAYERS)}]]
2020-10-29 21:49:34 -04:00
})