Don't put Globe above everything

This commit is contained in:
2021-10-17 19:50:41 +02:00
parent 28c78bbe8a
commit 56857fe30d
2 changed files with 3 additions and 2 deletions

View File

@@ -51,7 +51,8 @@
let scrollProgress: number
let sideMargins: number = 6
$: if (browser && window.innerWidth >= 768) {
scrollProgress = clamp(scrollY / (window.innerHeight * 1.5), 0, 1) // TODO: Define this value to be 1 past 1.5 viewport
// TODO: Define this value to be 1 past 1.5 viewport
scrollProgress = clamp(scrollY / (window.innerHeight * 1.5), 0, 1)
sideMargins = lerp(8, 30, scrollProgress)
}