Skip to content

Commit bfec2da

Browse files
committed
fix: change the starting point for pausing header animations
1 parent b9acfe8 commit bfec2da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: js/scripts.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ function animateCarousel() {
276276
function pauseOffScreen() {
277277
ScrollTrigger.create({
278278
trigger: '.content',
279-
start: 'top top',
279+
start: 'center top',
280280
onEnter: () => {
281281
[dino, walking, smoke, clouds, light].forEach(anim => {
282282
anim.pause();

0 commit comments

Comments
 (0)