Adjusted sidebar transition timing in compact mode for smoother animations

This commit is contained in:
mr. M
2024-12-17 19:10:51 +01:00
parent 6c67aee8a4
commit d43bbbd5ba

View File

@@ -153,7 +153,7 @@ var gZenCompactModeManager = {
}
window.requestAnimationFrame(() => {
this.sidebar.style.transition = "margin .3s ease, transform .4s ease, opacity .3s ease";
this.sidebar.style.transition = "margin .3s ease, transform .3s ease, opacity .3s ease";
// we are in compact mode and we are exiting it
if (!this.sidebarIsOnRight) {
this.sidebar.style.marginLeft = "0";