oops
This commit is contained in:
parent
b58e992f92
commit
b6547add2f
1 changed files with 1 additions and 1 deletions
|
@ -674,7 +674,7 @@ function updateArmorPowderSpecials(elem_id) {
|
|||
//update the slider's graphics
|
||||
let bg_color = elem_colors[skp_names.indexOf(wynn_elem)];
|
||||
let pct = Math.round(100 * value / powderSpecialStats[skp_names.indexOf(wynn_elem)].cap);
|
||||
elem.setAttribute("style.background",`linear-gradient(to right, ${bg_color}, ${bg_color} ${pct}%, #AAAAAA ${pct}%, #AAAAAA ${100 - pct}%)`);
|
||||
elem.style.background = `linear-gradient(to right, ${bg_color}, ${bg_color} ${pct}%, #AAAAAA ${pct}%, #AAAAAA ${100 - pct}%)`;
|
||||
}
|
||||
|
||||
/* Calculates all build statistics and updates the entire display.
|
||||
|
|
Loading…
Reference in a new issue