Merge branch 'master' into newnav

This commit is contained in:
Miodec 2022-09-01 15:00:28 +02:00
commit 2972f5db52

View file

@ -163,10 +163,6 @@ export function showWords(): void {
$("#words").html(wordsHTML);
if (Config.mode === "zen") {
$(<Element>document.querySelector(".word")).remove();
}
updateWordsHeight();
}
@ -218,6 +214,11 @@ export function updateWordsHeight(): void {
$(".outOfFocusWarning").css("line-height", wordHeight * 3 + "px");
}
}
if (Config.mode === "zen") {
$(<Element>document.querySelector(".word")).remove();
}
updateActiveElement();
Caret.updatePosition();
}