forked from HoloTech/twitch-subathon-timer
- OBS progress bar bugfix
This commit is contained in:
2
timer.js
2
timer.js
@@ -281,7 +281,7 @@ class TimerRenderer {
|
||||
if (current / required > .02) {
|
||||
this.goal_bar.style.maskImage = `linear-gradient(to right, #55CBFF 0%, #55CBFF ${((current / required) - .02) * 100}%, transparent ${(current / required) * 100}%)`;
|
||||
} 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%)`;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user