- OBS progress bar bugfix

This commit is contained in:
2025-11-04 12:18:33 -05:00
parent f2fc02ff7e
commit 8e95f378d7

View File

@@ -281,7 +281,7 @@ class TimerRenderer {
if (current / required > .02) { 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, #55CBFF 0%, #55CBFF ${((current / required) - .02) * 100}%, transparent ${(current / required) * 100}%)`;
} else { } else {
this.goal_bar.style.maskImage = `linear-gradient(to right, transparent 0%)`; this.goal_bar.style.maskImage = `linear-gradient(to right, #55CBFF 0%, transparent .01%)`;
} }
} }