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:
parent
f521874fb6
commit
fb7a3fdfec
6 changed files with 25 additions and 6 deletions
js/technical
|
@ -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>
|
||||
`
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue