mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2024-11-10 17:04:49 +08:00
impr(shadow theme): dont dehighlight typed words in shadow theme
closes #5557
This commit is contained in:
parent
b631dc4143
commit
5ef6da0618
1 changed files with 2 additions and 1 deletions
|
@ -229,7 +229,8 @@ export function updateActiveElement(
|
|||
if (
|
||||
["word", "next_word", "next_two_words", "next_three_words"].includes(
|
||||
Config.highlightMode
|
||||
)
|
||||
) &&
|
||||
Config.theme !== "shadow"
|
||||
) {
|
||||
active.querySelectorAll("letter").forEach((e) => {
|
||||
e.classList.remove("correct");
|
||||
|
|
Loading…
Reference in a new issue