Skip to content

Commit

Permalink
fix(timer progress): mini and bar style not animating when shown
Browse files Browse the repository at this point in the history
  • Loading branch information
Miodec committed May 4, 2024
1 parent 790fc8c commit d06203c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/src/ts/test/timer-progress.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const miniEl = $("#liveStatsMini .time");

export function show(): void {
if (Config.mode !== "zen" && Config.timerStyle === "bar") {
barEl.stop(true, true).removeClass("hidden").animate(
barEl.stop(true, true).removeClass("hidden").css("opacity", 0).animate(
{
opacity: 1,
},
Expand All @@ -28,7 +28,7 @@ export function show(): void {
125
);
} else if (Config.mode === "zen" || Config.timerStyle === "mini") {
miniEl.stop(true, true).removeClass("hidden").animate(
miniEl.stop(true, true).removeClass("hidden").css("opacity", 0).animate(
{
opacity: 1,
},
Expand Down

0 comments on commit d06203c

Please sign in to comment.