From 2fd3d0588620a82ad0c64436277376a186957aee Mon Sep 17 00:00:00 2001 From: Jack Date: Sun, 22 Aug 2021 00:39:54 +0100 Subject: [PATCH] delaying focus false slightly to make ui elements appear at the same time as the words --- src/js/test/test-logic.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/test/test-logic.js b/src/js/test/test-logic.js index b93786e8e..fa13f3ebe 100644 --- a/src/js/test/test-logic.js +++ b/src/js/test/test-logic.js @@ -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")