diff --git a/changelog.md b/changelog.md index e4bbac2..04c1b45 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,10 @@ # The Modding Tree changelog: +# v2.4.1 - 4/29/21 +- A number of minor fixes, many thanks to thepaperpilot. +- The respec confirmation checkbox is now part of the respec-button component. +- Added a few missing changes to the 2.4 changelog (the two at the bottom) + ## v2.4: Rationalized Edition - 4/29/21 - Completely reworked tooltips. Shift-click a node to force its tooltip to stay displayed. (And hopefully finally fixed flickering!) - Added text-input and slider components. @@ -10,10 +15,12 @@ - You no longer need to supply 'rows' and 'cols' for any Big Features. - Node symbols can use HTML. - Added documentation for the respec button. -- Added ctrlDown and shiftDown variables. - Added prestigeNotify to subtabs, and prestigeNotify in subtabs also highlights the layer node. - The version number no longer contains special characters or irrational numbers. +- Added ctrlDown and shiftDown variables. +- Tooltips now use HTML (this means you need to replace any newlines with
) + # v2.π.1 - 4/7/21 - Fixed formatting for some larger numbers. diff --git a/js/Demo/demoLayers.js b/js/Demo/demoLayers.js index 9771015..4657669 100644 --- a/js/Demo/demoLayers.js +++ b/js/Demo/demoLayers.js @@ -360,7 +360,7 @@ addLayer("c", { }, tooltip() { // Optional, tooltip displays when the layer is unlocked let tooltip = formatWhole(player[this.layer].points) + " " + this.resource - if (player[this.layer].buyables[11].gt(0)) tooltip += "\n" + formatWhole(player[this.layer].buyables[11]) + " Exhancers" + if (player[this.layer].buyables[11].gt(0)) tooltip += "
" + formatWhole(player[this.layer].buyables[11]) + " Exhancers" return tooltip }, shouldNotify() { // Optional, layer will be highlighted on the tree if true. diff --git a/js/Demo/demoMod.js b/js/Demo/demoMod.js index 48743c2..7a538e9 100644 --- a/js/Demo/demoMod.js +++ b/js/Demo/demoMod.js @@ -11,7 +11,7 @@ let modInfo = { // Set your version in num and name let VERSION = { - num: "2.4", + num: "2.4.1", name: "Rationalized Edition", } diff --git a/js/components.js b/js/components.js index 31c12a8..b53f088 100644 --- a/js/components.js +++ b/js/components.js @@ -241,10 +241,7 @@ function loadVue() { props: ['layer', 'data'], template: `
-
-
- -
+
@@ -276,10 +273,13 @@ function loadVue() { Vue.component('respec-button', { props: ['layer', 'data'], template: ` - +
+
+ +
` }) - + // data = button size, in px Vue.component('clickables', { props: ['layer', 'data'], diff --git a/js/game.js b/js/game.js index 4eab945..2589d21 100644 --- a/js/game.js +++ b/js/game.js @@ -5,7 +5,7 @@ var scrolled = false; // Don't change this const TMT_VERSION = { - tmtNum: "2.4.0.1", + tmtNum: "2.4.1", tmtName: "Rationalized Edition" }