Minor modifications to menu animation.

This commit is contained in:
Daniel Scalzi
2018-04-26 04:00:51 -04:00
parent 22f5eabe49
commit 4b708f59fe
2 changed files with 11 additions and 5 deletions

View File

@@ -115,7 +115,13 @@ function slide_(up){
lCLCenter.style.top = '-200vh'
lCLRight.style.top = '-200vh'
menuBtn.style.top = '130vh'
setTimeout(() => {
lCLCenter.style.transition = 'none'
menuBtn.style.transition = 'none'
}, 2000)
} else {
lCLCenter.style.transition = null
menuBtn.style.transition = null
lCUpper.style.top = '0px'
lCLLeft.style.top = '0px'
lCLCenter.style.top = '0px'