mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-02-27 00:04:37 +08:00
fix(commandline): prevent theme switch when opening the commanline from the footer (sanidhyas3s) (#5163)
fixes #5103 Co-authored-by: Jack <jack@monkeytype.com>
This commit is contained in:
parent
9a0d6bd5a9
commit
4c550c7d9d
1 changed files with 1 additions and 1 deletions
|
@ -158,7 +158,7 @@ function showFound(): void {
|
|||
if (!/font/gi.test(obj.id)) {
|
||||
UpdateConfig.previewFontFamily(Config.fontFamily);
|
||||
}
|
||||
if (obj.hover) obj.hover();
|
||||
if (obj.hover && !obj.id.startsWith("changeTheme")) obj.hover();
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue