1
0
Fork 1
mirror of https://github.com/zen-browser/desktop.git synced 2025-07-09 19:05:29 +02:00

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
No known key found for this signature in database
GPG key ID: CBD57A2AEDBDA1FB

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";