v0.19.35
trying to improve elevator reveal animation
This commit is contained in:
parent
b62d14b0da
commit
d837b344b8
@ -691,7 +691,9 @@ function showSiteMap() {
|
|||||||
document.body.style.overflow = "hidden";
|
document.body.style.overflow = "hidden";
|
||||||
document.body.style.top = `-${window.scrollY}px`;
|
document.body.style.top = `-${window.scrollY}px`;
|
||||||
getRef("elevator_popup").classList.remove("hide-completely");
|
getRef("elevator_popup").classList.remove("hide-completely");
|
||||||
siteMapTimeline.duration(1).play();
|
setTimeout(() => {
|
||||||
|
siteMapTimeline.duration(0.9).play();
|
||||||
|
}, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
function hideSiteMap() {
|
function hideSiteMap() {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user