From 089e11250de267e6470c5df23fd60a14e20d3f65 Mon Sep 17 00:00:00 2001 From: Miodec Date: Wed, 3 May 2023 17:36:10 +0200 Subject: [PATCH] parsing float instead --- frontend/src/ts/test/timer-progress.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/ts/test/timer-progress.ts b/frontend/src/ts/test/timer-progress.ts index a61705919..ba16d491a 100644 --- a/frontend/src/ts/test/timer-progress.ts +++ b/frontend/src/ts/test/timer-progress.ts @@ -9,7 +9,7 @@ import * as TestState from "./test-state"; import * as ConfigEvent from "../observables/config-event"; export function show(): void { - const op = Config.showTimerProgress ? parseInt(Config.timerOpacity) : 0; + const op = Config.showTimerProgress ? parseFloat(Config.timerOpacity) : 0; if (Config.mode != "zen" && Config.timerStyle === "bar") { $("#timerWrapper").stop(true, true).removeClass("hidden").animate( {