Compare commits

...

1 Commits

Author SHA1 Message Date
8029e220c3
Fix progress bar when resizing 2026-04-04 16:00:43 +02:00

View File

@ -297,3 +297,12 @@ function pad(num) {
return ("00" + num).substr(-2);
}
// Fix progress bar when resizing on Firefox
// https://bugzilla.mozilla.org/show_bug.cgi?id=1738925
window.addEventListener("resize", function() {
if (params.type === "timer") {
progressBar.style.animationPlayState = "paused";
progressBar.style.animationPlayState = "running";
}
});