Update 1.js

This commit is contained in:
FURK4NGG
2024-10-03 20:26:23 +03:00
committed by GitHub
parent d65c6d6ece
commit d02c81c60c
+1 -1
View File
@@ -21,7 +21,7 @@ document.addEventListener('scroll', () => {
const windowHeight = window.innerHeight;
const totalHeight = document.body.scrollHeight;
const scrollPercent = scrollPosition*4.5 / (totalHeight - windowHeight);
const scrollPercent = scrollPosition*4.7 / (totalHeight - windowHeight);
words.forEach((word, index) => {
const wordOffset = index / words.length;