From 2aebcce9ebea2ba8b225beeca72a8115a19530da Mon Sep 17 00:00:00 2001 From: Harsh Khandeparkar <34770591+HarshKhandeparkar@users.noreply.github.com> Date: Mon, 29 Jun 2020 11:47:40 +0530 Subject: [PATCH] fix: make scroll-fade offset negative --- lib/js/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/js/index.js b/lib/js/index.js index 8192dfb..7df240a 100644 --- a/lib/js/index.js +++ b/lib/js/index.js @@ -25,7 +25,7 @@ $(window).on('scroll', () => { // /Transparent Navbar // ScrollFade Anim -const fadeOffset = 20; +const fadeOffset = -10; const fadeDuration = 500; const fadeDelay = 0;