diff --git a/changelog.md b/changelog.md index 7f6d84a..9a1f3cb 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,10 @@ # The Modding Tree changelog: +# v2.0.2 10/15/20 +- Branches are now dynamic (they can be functions). +- Fixed a crash related to offline time. +- Fixed links being too wide. + # v2.0.1 10/15/20 - Fixed side layers appearing multiple times. diff --git a/js/canvas.js b/js/canvas.js index 8f80219..295dd0d 100644 --- a/js/canvas.js +++ b/js/canvas.js @@ -40,10 +40,10 @@ function drawTree() { if (!retrieveCanvasData()) return; ctx.clearRect(0, 0, canvas.width, canvas.height); for (layer in layers){ - if (layers[layer].layerShown() && layers[layer].branches){ - for (branch in layers[layer].branches) + if (layers[layer].layerShown() && tmp[layer].branches){ + for (branch in tmp[layer].branches) { - drawTreeBranch(layer, layers[layer].branches[branch]) + drawTreeBranch(layer, tmp[layer].branches[branch]) } } } diff --git a/js/game.js b/js/game.js index c662017..b948ec0 100644 --- a/js/game.js +++ b/js/game.js @@ -16,9 +16,9 @@ let modInfo = { // Set your version in num and name, but leave the tmt values so people know what version it is let VERSION = { - num: "2.0", + num: "2.0.2", name: "Pinnacle of Achievement Mountain", - tmtNum: "2.0", + tmtNum: "2.0.2", tmtName: "Pinnacle of Achievement Mountain" } diff --git a/style.css b/style.css index f427315..875f8f6 100644 --- a/style.css +++ b/style.css @@ -326,8 +326,6 @@ a { color: #41f5f5; text-decoration-line: none; cursor: pointer; - width: 100%; - min-width: 100%; font-family: "Lucida Console", "Courier New", monospace; -webkit-text-stroke-width: 1px; -webkit-text-stroke-color: #02f2f2;