parsing float instead

This commit is contained in:
Miodec 2023-05-03 17:36:10 +02:00
parent 91e77efef4
commit 089e11250d

View file

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