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:
Jack 2020-08-30 02:34:48 +01:00
parent d852fe40ed
commit 4ebd60b25b

View file

@ -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) {