mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2024-09-22 16:26:18 +08:00
parsing float instead
This commit is contained in:
parent
91e77efef4
commit
089e11250d
|
@ -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(
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue