mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-02-02 12:00:10 +08:00
refreshing the color object later while randomising the theme to hopefully fix the bug where the keymap colors would be wrong
This commit is contained in:
parent
d852fe40ed
commit
4ebd60b25b
1 changed files with 0 additions and 3 deletions
|
@ -690,9 +690,6 @@ function randomiseTheme() {
|
|||
randomList = config.favThemes;
|
||||
let randomtheme = randomList[Math.floor(Math.random() * randomList.length)];
|
||||
setTheme(randomtheme, true);
|
||||
setTimeout(() => {
|
||||
refreshThemeColorObject();
|
||||
}, 125);
|
||||
}
|
||||
|
||||
function setRandomTheme(val, nosave) {
|
||||
|
|
Loading…
Reference in a new issue