Code clean,
This commit is contained in:
@@ -36,8 +36,8 @@ export const animateIn = () => {
|
||||
duration: animDuration,
|
||||
autoplay: false
|
||||
})
|
||||
window.addEventListener('scroll', throttle(() => parallaxAnime(document.getElementById('title-houses'), translate), 10))
|
||||
requestAnimationFrame(() => parallaxAnime(document.getElementById('title-houses'), translate), 50)
|
||||
window.addEventListener('scroll', throttle(() => parallaxAnime(document.getElementById('title-houses'), translate), 5))
|
||||
requestAnimationFrame(() => parallaxAnime(document.getElementById('title-houses'), translate))
|
||||
|
||||
// Intro: Description
|
||||
const introDescription = anime({
|
||||
|
||||
Reference in New Issue
Block a user