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( {