mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-02-28 00:35:25 +08:00
fixed read ahead forcing highlight mode letter
This commit is contained in:
parent
a8b4fa348b
commit
54264da201
1 changed files with 4 additions and 3 deletions
|
@ -211,9 +211,10 @@ export async function activate(funbox?: string): Promise<boolean | undefined> {
|
|||
}
|
||||
|
||||
if (
|
||||
funbox === "read_ahead" ||
|
||||
funbox === "read_ahead_easy" ||
|
||||
funbox === "read_ahead_hard"
|
||||
(funbox === "read_ahead" ||
|
||||
funbox === "read_ahead_easy" ||
|
||||
funbox === "read_ahead_hard") &&
|
||||
Config.highlightMode === "word"
|
||||
) {
|
||||
UpdateConfig.setHighlightMode("letter", true);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue