1
0
Fork 0
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:
Harley White 2021-05-06 16:00:47 -04:00
parent cbb303c21b
commit 69dc926eb6
4 changed files with 7 additions and 1 deletions
js/technical

View file

@ -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
}