1
0
Fork 0
mirror of https://github.com/Acamaeda/The-Modding-Tree.git synced 2024-12-12 09:21:36 +00:00

Fixed milestone visual bug

This commit is contained in:
Harley White 2021-06-10 01:09:31 -04:00
parent afd414df40
commit 2439be6c96
5 changed files with 11 additions and 5 deletions

View file

@ -1,5 +1,8 @@
# The Modding Tree changelog: # The Modding Tree changelog:
# v2.6.2.1 - 6/10/21
- Fixed a visual bug with milestones.
## v2.6.2 - 6/10/21 ## v2.6.2 - 6/10/21
- Broke up style.css into many files to make it easier to find and customize what matters. If you already have custom CSS, keep that and ignore the new ones maybe? - Broke up style.css into many files to make it easier to find and customize what matters. If you already have custom CSS, keep that and ignore the new ones maybe?
- Added buyable and clickable trees. - Added buyable and clickable trees.

View file

@ -170,7 +170,6 @@ ul {
.tooltipBox { .tooltipBox {
position: relative; position: relative;
display: inline-block;
} }
.tooltipBox:hover .tooltip{ .tooltipBox:hover .tooltip{
@ -181,6 +180,10 @@ ul {
opacity: 1; opacity: 1;
} }
.respecCheckbox {
display: inline-block;
}
#loadingSection { #loadingSection {
display: flex; display: flex;

View file

@ -11,7 +11,7 @@ let modInfo = {
// Set your version in num and name // Set your version in num and name
let VERSION = { let VERSION = {
num: "2.6.2", num: "2.6.2.1",
name: "Fixed Reality", name: "Fixed Reality",
} }

View file

@ -311,7 +311,7 @@ function loadVue() {
props: ['layer', 'data'], props: ['layer', 'data'],
template: ` template: `
<div v-if="tmp[layer].buyables && tmp[layer].buyables.respec && !(tmp[layer].buyables.showRespec !== undefined && tmp[layer].buyables.showRespec == false)"> <div v-if="tmp[layer].buyables && tmp[layer].buyables.respec && !(tmp[layer].buyables.showRespec !== undefined && tmp[layer].buyables.showRespec == false)">
<div class="tooltipBox"><input type="checkbox" v-model="player[layer].noRespecConfirm" ><tooltip v-bind:text="'Disable respec confirmation'"></tooltip></div> <div class="tooltipBox respecCheckbox"><input type="checkbox" v-model="player[layer].noRespecConfirm" ><tooltip v-bind:text="'Disable respec confirmation'"></tooltip></div>
<button v-on:click="respecBuyables(layer)" v-bind:class="{ longUpg: true, can: player[layer].unlocked, locked: !player[layer].unlocked }" style="margin-right: 18px">{{tmp[layer].buyables.respecText ? tmp[layer].buyables.respecText : "Respec"}}</button> <button v-on:click="respecBuyables(layer)" v-bind:class="{ longUpg: true, can: player[layer].unlocked, locked: !player[layer].unlocked }" style="margin-right: 18px">{{tmp[layer].buyables.respecText ? tmp[layer].buyables.respecText : "Respec"}}</button>
</div> </div>
` `

View file

@ -4,7 +4,7 @@ var gameEnded = false;
// Don't change this // Don't change this
const TMT_VERSION = { const TMT_VERSION = {
tmtNum: "2.6.2", tmtNum: "2.6.2.1",
tmtName: "Fixed Reality" tmtName: "Fixed Reality"
} }