mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2024-09-21 15:56:24 +08:00
fixed word highlight mode showing words in tts funbox
This commit is contained in:
parent
ba461c1f0c
commit
69e7bc641c
|
@ -916,7 +916,8 @@ export function setHighlightMode(mode, nosave) {
|
|||
(config.funbox === "nospace" ||
|
||||
config.funbox === "read_ahead" ||
|
||||
config.funbox === "read_ahead_easy" ||
|
||||
config.funbox === "read_ahead_hard")
|
||||
config.funbox === "read_ahead_hard" ||
|
||||
config.funbox === "tts")
|
||||
) {
|
||||
Notifications.add("Can't use word highlight with this funbox", 0);
|
||||
return;
|
||||
|
|
|
@ -167,6 +167,7 @@ export async function activate(funbox) {
|
|||
UpdateConfig.setKeymapMode
|
||||
);
|
||||
UpdateConfig.setKeymapMode("off");
|
||||
UpdateConfig.setHighlightMode("letter");
|
||||
Settings.groups.keymapMode.updateButton();
|
||||
TestLogic.restart();
|
||||
} else if (funbox === "layoutfluid") {
|
||||
|
|
Loading…
Reference in a new issue