Update 1.js

This commit is contained in:
FURK4NGG
2024-10-06 15:04:33 +03:00
committed by GitHub
parent 32b7319278
commit d3815cad00
+1 -1
View File
@@ -39,7 +39,7 @@ document.addEventListener('scroll', () => {
const windowHeight = window.innerHeight;
const totalHeight = document.body.scrollHeight;
const scrollPercent = scrollPosition*4.5 / (totalHeight - windowHeight);
const scrollPercent = scrollPosition*4.4 / (totalHeight - windowHeight);
words.forEach((word, index) => {
const wordOffset = index / words.length;