mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-10-15 01:56:18 +08:00
changing highlight mode will now cause the current word to update to reflect the change
This commit is contained in:
parent
1736c75326
commit
c76db46869
1 changed files with 5 additions and 0 deletions
|
@ -836,6 +836,11 @@ export function setHighlightMode(mode, nosave) {
|
|||
mode = "letter";
|
||||
}
|
||||
config.highlightMode = mode;
|
||||
// if(TestLogic.active){
|
||||
try{
|
||||
if (!nosave) TestUI.updateWordElement(config.blindMode);
|
||||
}catch{}
|
||||
// }
|
||||
if (!nosave) saveToLocalStorage();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue