mirror of
https://github.com/Acamaeda/The-Modding-Tree.git
synced 2025-05-05 07:41:04 +00:00
Fixed subtab glow issue
This commit is contained in:
parent
5e9d4ea53e
commit
2968a838d6
3 changed files with 9 additions and 2 deletions
js/technical
|
@ -4,6 +4,9 @@ const decimalZero = new Decimal(0)
|
|||
const decimalOne = new Decimal(1)
|
||||
const decimalNaN = new Decimal(NaN)
|
||||
|
||||
const defaultGlow = "#ff0000"
|
||||
|
||||
|
||||
function layerShown(layer){
|
||||
return tmp[layer].layerShown;
|
||||
}
|
||||
|
@ -187,7 +190,7 @@ function setupLayer(layer){
|
|||
if(layers[layer].displayRow === undefined) layers[layer].displayRow = layers[layer].row
|
||||
if(layers[layer].name === undefined) layers[layer].name = layer
|
||||
if(layers[layer].layerShown === undefined) layers[layer].layerShown = true
|
||||
if(layers[layer].glowColor === undefined) layers[layer].glowColor = "#ff0000"
|
||||
if(layers[layer].glowColor === undefined) layers[layer].glowColor = defaultGlow
|
||||
|
||||
let row = layers[layer].row
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue