Fix function call
This commit is contained in:
@@ -33,7 +33,7 @@ export const animateIn = () => {
|
|||||||
easing: 'easeOutQuart',
|
easing: 'easeOutQuart',
|
||||||
duration: animDuration
|
duration: animDuration
|
||||||
})
|
})
|
||||||
window.addEventListener('scroll', fn.debounce(event => {
|
window.addEventListener('scroll', debounce(event => {
|
||||||
translate.seek(translate.duration * (window.scrollY / 1000))
|
translate.seek(translate.duration * (window.scrollY / 1000))
|
||||||
}), 50)
|
}), 50)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user