mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-02-25 07:14:00 +08:00
fixed fadeout not working
This commit is contained in:
parent
ebeafd9880
commit
2a49beb893
3 changed files with 6 additions and 6 deletions
|
@ -44,7 +44,7 @@ export function hide(): void {
|
|||
// $("#miniTimerAndLiveWpm .wpm").css("opacity", 0);
|
||||
$("#liveAcc").animate(
|
||||
{
|
||||
opacity: Config.timerOpacity,
|
||||
opacity: 0,
|
||||
},
|
||||
125,
|
||||
() => {
|
||||
|
@ -53,7 +53,7 @@ export function hide(): void {
|
|||
);
|
||||
$("#miniTimerAndLiveWpm .acc").animate(
|
||||
{
|
||||
opacity: Config.timerOpacity,
|
||||
opacity: 0,
|
||||
},
|
||||
125,
|
||||
() => {
|
||||
|
|
|
@ -42,7 +42,7 @@ export function show(): void {
|
|||
export function hide(): void {
|
||||
$("#liveBurst").animate(
|
||||
{
|
||||
opacity: Config.timerOpacity,
|
||||
opacity: 0,
|
||||
},
|
||||
125,
|
||||
() => {
|
||||
|
@ -51,7 +51,7 @@ export function hide(): void {
|
|||
);
|
||||
$("#miniTimerAndLiveWpm .burst").animate(
|
||||
{
|
||||
opacity: Config.timerOpacity,
|
||||
opacity: 0,
|
||||
},
|
||||
125,
|
||||
() => {
|
||||
|
|
|
@ -54,7 +54,7 @@ export function show(): void {
|
|||
export function hide(): void {
|
||||
$("#liveWpm").animate(
|
||||
{
|
||||
opacity: Config.timerOpacity,
|
||||
opacity: 0,
|
||||
},
|
||||
125,
|
||||
() => {
|
||||
|
@ -63,7 +63,7 @@ export function hide(): void {
|
|||
);
|
||||
$("#miniTimerAndLiveWpm .wpm").animate(
|
||||
{
|
||||
opacity: Config.timerOpacity,
|
||||
opacity: 0,
|
||||
},
|
||||
125,
|
||||
() => {
|
||||
|
|
Loading…
Reference in a new issue