From c5607b5d9a478668771b7065a1e0964a5dd850b4 Mon Sep 17 00:00:00 2001 From: Jack Date: Mon, 5 Jul 2021 19:14:34 +0100 Subject: [PATCH] fixed jumpy animation when always show words history is enabled --- src/js/test/test-logic.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/js/test/test-logic.js b/src/js/test/test-logic.js index 62babae18..b88325a7a 100644 --- a/src/js/test/test-logic.js +++ b/src/js/test/test-logic.js @@ -1959,15 +1959,15 @@ export function finish(difficultyFailed = false) { $("#words").empty(); ChartController.result.resize(); - if (Config.alwaysShowWordsHistory) { - TestUI.toggleResultWords(); - } if (TestUI.heatmapEnabled) { TestUI.applyBurstHeatmap(); } $("#testModesNotice").addClass("hidden"); }, () => { + if (Config.alwaysShowWordsHistory) { + TestUI.toggleResultWords(); + } Keymap.hide(); } );