mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2024-09-20 15:26:15 +08:00
fixed jumpy animation when always show words history is enabled
This commit is contained in:
parent
e29b0fc3d9
commit
c5607b5d9a
|
@ -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();
|
||||
}
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue