mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-03-13 07:23:39 +08:00
hiding the keymap in the middle of the animation to avoid the page jumping while finishing a test
This commit is contained in:
parent
5179eece78
commit
0143622362
1 changed files with 2 additions and 1 deletions
|
@ -1007,7 +1007,6 @@ export function finish(difficultyFailed = false) {
|
|||
PbCrown.hide();
|
||||
LiveAcc.hide();
|
||||
TimerProgress.hide();
|
||||
Keymap.hide();
|
||||
Funbox.activate("none", null);
|
||||
|
||||
if (
|
||||
|
@ -1883,6 +1882,8 @@ export function finish(difficultyFailed = false) {
|
|||
TestUI.toggleResultWords();
|
||||
}
|
||||
$("#testModesNotice").addClass("hidden");
|
||||
}, () => {
|
||||
Keymap.hide();
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue