impr(shadow theme): dont dehighlight typed words in shadow theme

closes #5557
This commit is contained in:
Miodec 2024-07-04 12:30:52 +02:00
parent b631dc4143
commit 5ef6da0618

View file

@ -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");