mirror of
https://github.com/Acamaeda/The-Modding-Tree.git
synced 2025-05-12 21:11:05 +00:00
Added glowColor
This commit is contained in:
parent
cbb303c21b
commit
69dc926eb6
4 changed files with 7 additions and 1 deletions
js/technical
|
@ -18,6 +18,8 @@ function constructNodeStyle(layer){
|
|||
style.push({'background-color': tmp[layer].color})
|
||||
if (tmp[layer].image !== undefined)
|
||||
style.push({'background-image': 'url("' + tmp[layer].image + '")'})
|
||||
if(tmp[layer].glowColor !== undefined && tmp[layer].notify && player[layer].unlocked)
|
||||
style.push({'box-shadow': 'var(--hqProperty2a), 0 0 20px ' + tmp[layer].glowColor})
|
||||
style.push(tmp[layer].nodeStyle)
|
||||
return style
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue