From d06203cf2d871be2915d18c3498748e40d58c97e Mon Sep 17 00:00:00 2001 From: Miodec Date: Sat, 4 May 2024 19:31:36 +0200 Subject: [PATCH] fix(timer progress): mini and bar style not animating when shown --- frontend/src/ts/test/timer-progress.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/ts/test/timer-progress.ts b/frontend/src/ts/test/timer-progress.ts index 8712ef6a9..d2f4fe6b9 100644 --- a/frontend/src/ts/test/timer-progress.ts +++ b/frontend/src/ts/test/timer-progress.ts @@ -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, }, @@ -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, },