diff --git a/demo.html b/demo.html index a79a315..e7cb3c4 100644 --- a/demo.html +++ b/demo.html @@ -110,24 +110,7 @@
  • Main Prestige Tree server
  • -
    - -
    Dev Speed: {{format(player.devSpeed)}}x
    -
    - -
    Offline Time: {{formatTime(player.offTime.remain)}}
    -
    - -
    Reach {{formatWhole(ENDGAME)}} to beat the game!
    -
    -
    - You have -

    {{format(player.points)}}

    - {{modInfo.pointsName}} -
    - ({{format(getPointGen())}}/sec) -
    -
    +
    @@ -136,25 +119,10 @@




    - - + + +
    - +
    diff --git a/index.html b/index.html index 7efde63..bf4a3e3 100644 --- a/index.html +++ b/index.html @@ -43,10 +43,6 @@

    Oh, you are still reading this?


    -
    -


    -
    -

    {{modInfo.name}}

    diff --git a/js/Demo/demoTree.js b/js/Demo/demoTree.js index 59707db..aee9601 100644 --- a/js/Demo/demoTree.js +++ b/js/Demo/demoTree.js @@ -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)}]] +}) \ No newline at end of file diff --git a/js/tree.js b/js/tree.js index 82a5db4..213dc4c 100644 --- a/js/tree.js +++ b/js/tree.js @@ -13,3 +13,7 @@ addNode("spook", { layerShown: "ghost", }, ) + +addLayer("tree-tab", { + tabFormat: ["tree", function() {layoutInfo.treeLayout ? layoutInfo.treeLayout : TREE_LAYERS}] +}) \ No newline at end of file diff --git a/js/v.js b/js/v.js index 3286e9f..7404e39 100644 --- a/js/v.js +++ b/js/v.js @@ -467,10 +467,11 @@ function loadVue() { }) Vue.component('layer-tab', { - props: ['layer', 'back'], + props: ['layer', 'back', 'spacing'], template: `
    -


    +
    +
    @@ -488,10 +489,10 @@ function loadVue() {

    -
    +
    -
    +
    @@ -502,7 +503,27 @@ function loadVue() { ` }) - + Vue.component('overlay-head', { + template: `
    + +
    Dev Speed: {{format(player.devSpeed)}}x
    +
    + +
    Offline Time: {{formatTime(player.offTime.remain)}}
    +
    + +
    Reach {{formatWhole(ENDGAME)}} to beat the game!
    +
    +
    + You have +

    {{format(player.points)}}

    + {{modInfo.pointsName}} +
    + ({{format(getPointGen())}}/sec) +
    +
    + ` + })