mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-03-12 06:33:22 +08:00
delaying focus false slightly to make ui elements appear at the same time as the words
This commit is contained in:
parent
a38213de0e
commit
2fd3d05886
1 changed files with 1 additions and 1 deletions
|
@ -803,7 +803,6 @@ export function restart(
|
|||
TestStats.restart();
|
||||
corrected.reset();
|
||||
ShiftTracker.reset();
|
||||
Focus.set(false);
|
||||
Caret.hide();
|
||||
setActive(false);
|
||||
Replay.stopReplayRecording();
|
||||
|
@ -933,6 +932,7 @@ export function restart(
|
|||
opacity: 1,
|
||||
});
|
||||
// resetPaceCaret();
|
||||
Focus.set(false);
|
||||
$("#typingTest")
|
||||
.css("opacity", 0)
|
||||
.removeClass("hidden")
|
||||
|
|
Loading…
Reference in a new issue