This commit is contained in:
Boof 2023-03-15 12:50:52 +01:00 committed by GitHub
parent fad5d90c95
commit 1ed728546f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -17,7 +17,7 @@ class TextScramble {
const from = oldText[i] || '';
const to = newText[i] || '';
const start = Math.floor(Math.random() * 40);
const end = start + Math.floor(Math.random() * 40);
const end = start + Math.floor(Math.random() * 100);
this.queue.push({ from, to, start, end });
}
cancelAnimationFrame(this.frameRequest);