fixed incorrect if check

closes #4382
This commit is contained in:
Miodec 2023-06-16 11:07:09 +02:00
parent 2830b32f54
commit c51a1e01eb

View file

@ -218,7 +218,7 @@ export function update(expectedStepEnd: number): void {
top: newTop - smoothlinescroll,
});
if (Config.smoothCaret) {
if (Config.smoothCaret !== "off") {
caret.stop(true, true).animate(
{
left: newLeft,