1
0
Fork 0
mirror of https://github.com/Acamaeda/The-Modding-Tree.git synced 2024-11-24 01:11:46 +00:00

Re-centered respec buttons

This commit is contained in:
Harley White 2021-05-03 14:40:42 -04:00
parent 801570167d
commit bb43680517
2 changed files with 2 additions and 1 deletions

View file

@ -5,6 +5,7 @@
- Layer nodes will be highlighted even if the player is on the same tab.
- Added buyable purchaseLimit.
- Amount is automatically supplied to buyable cost and effect functions.
- Re-centered respec buttons.
# v2.4.1 - 4/29/21
- A number of minor fixes, many thanks to thepaperpilot.

View file

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