From 9fd2bc87f52412da73c3ac7a5c0c29e0642a58b3 Mon Sep 17 00:00:00 2001 From: Miodec Date: Fri, 16 Jun 2023 09:51:16 +0200 Subject: [PATCH] fixed incorrect caret animation being applied closes #4381 --- frontend/src/ts/test/caret.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/ts/test/caret.ts b/frontend/src/ts/test/caret.ts index f126d1cd1..2eab0e7ee 100644 --- a/frontend/src/ts/test/caret.ts +++ b/frontend/src/ts/test/caret.ts @@ -17,7 +17,7 @@ export function stopAnimation(): void { export function startAnimation(): void { if (caretAnimating === false) { - if (Config.smoothCaret && !SlowTimer.get()) { + if (Config.smoothCaret !== "off" && !SlowTimer.get()) { caret.css("animation-name", "caretFlashSmooth"); } else { caret.css("animation-name", "caretFlashHard");