1
0
Fork 0
mirror of https://github.com/Acamaeda/The-Modding-Tree.git synced 2025-05-11 04:21:09 +00:00

ComputedNodeStyle, resourceDisplay always shows base amount

This commit is contained in:
Acamaeda 2020-12-16 21:20:00 -05:00
parent f521874fb6
commit fb7a3fdfec
6 changed files with 25 additions and 6 deletions

View file

@ -42,10 +42,8 @@ var systemComponents = {
resetNotify: tmp[layer].prestigeNotify,
can: ((player[layer].unlocked || tmp[layer].isLayer) && tmp[layer].isLayer) || (!tmp[layer].isLayer && tmp[layer].canClick),
}"
v-bind:style="[(tmp[layer].isLayer && layerunlocked(layer)) || (!tmp[layer].isLayer && tmp[layer].canClick) ? {
'background-color': tmp[layer].color,
} : {}, tmp[layer].nodeStyle]">
{{(abb !== '' ? abb : ' ')}}
v-bind:style="tmp[layer].computedNodeStyle">
{{(abb !== '' && tmp[layer].image === undefined) ? abb : ' '}}
</button>
`
},