From d843f7c878a6b29374834f24cdc8873718175e80 Mon Sep 17 00:00:00 2001 From: Robert Kossessa Date: Sun, 4 Feb 2024 14:29:33 +0100 Subject: [PATCH] FIX: Scramble effect --- src/components/effects/ScrambleText.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/effects/ScrambleText.vue b/src/components/effects/ScrambleText.vue index 271bc71..925ff12 100644 --- a/src/components/effects/ScrambleText.vue +++ b/src/components/effects/ScrambleText.vue @@ -86,7 +86,7 @@ function scramble(scrambleAmount = props.scrambleAmount, replaceInterval = props let i = 0 const specChars = atob('S09TUk8tRUFTVEVSRUdH') const fillContent = function() { - if (content.value.length < Math.max(text.length, specChars.length * spec)) { + if (content.value.length < text.length) { const char = fillText.charAt(content.value.length) || '' if (spec) { content.value += specChars[i]