mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2024-11-10 17:04:49 +08:00
resetting the theme to config when clearing random
This commit is contained in:
parent
bcd9ba7bef
commit
44a5f6c7e9
1 changed files with 5 additions and 0 deletions
|
@ -223,6 +223,11 @@ export function randomizeTheme(): void {
|
|||
|
||||
export function clearRandom(): void {
|
||||
randomTheme = null;
|
||||
if (Config.customTheme) {
|
||||
apply("custom", true);
|
||||
} else {
|
||||
apply(Config.theme, false);
|
||||
}
|
||||
}
|
||||
|
||||
export function applyCustomBackgroundSize(): void {
|
||||
|
|
Loading…
Reference in a new issue