changing highlight mode will now cause the current word to update to reflect the change

This commit is contained in:
Miodec 2021-05-14 00:40:23 +01:00
parent 1736c75326
commit c76db46869

View file

@ -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();
}