minor autoscroll tweaks

This commit is contained in:
Nye Evans 2021-02-23 17:33:37 +00:00
parent fd2250aa70
commit 87c6941ad7

View file

@ -1,4 +1,4 @@
setTimeout(() => {
if (window.scrollY < 20)
window.scrollBy({top: window.innerHeight, left: 0, behavior: 'smooth'})
}, 2000); // we scroll the screen down a bit so the user realises theres more
}, 2500); // we scroll the screen down a bit so the user realises theres more