trying to improve elevator reveal animation
This commit is contained in:
sairaj mote 2021-04-17 18:11:09 +05:30
parent b62d14b0da
commit d837b344b8

View File

@ -691,7 +691,9 @@ function showSiteMap() {
document.body.style.overflow = "hidden";
document.body.style.top = `-${window.scrollY}px`;
getRef("elevator_popup").classList.remove("hide-completely");
siteMapTimeline.duration(1).play();
setTimeout(() => {
siteMapTimeline.duration(0.9).play();
}, 0);
}
function hideSiteMap() {