-red progress bar

This commit is contained in:
2025-11-05 23:18:56 -05:00
parent 192f3c0eb1
commit 6c2b897522
2 changed files with 4 additions and 3 deletions

View File

@@ -279,9 +279,9 @@ class TimerRenderer {
// Update the progress bar
if (current / required > .02) {
this.goal_bar.style.maskImage = `linear-gradient(to right, #55CBFF 0%, #55CBFF ${((current / required) - .02) * 100}%, transparent ${(current / required) * 100}%)`;
this.goal_bar.style.maskImage = `linear-gradient(to right, #FC98B3 0%, #FC98B3 ${((current / required) - .02) * 100}%, transparent ${(current / required) * 100}%)`;
} else {
this.goal_bar.style.maskImage = `linear-gradient(to right, #55CBFF 0%, transparent .01%)`;
this.goal_bar.style.maskImage = `linear-gradient(to right, #FC98B3 0%, transparent .01%)`;
}
}