mirror of
https://github.com/zen-browser/desktop.git
synced 2025-09-06 03:18:19 +00:00
Adjusted sidebar transition timing in compact mode for smoother animations
This commit is contained in:
@@ -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";
|
||||
|
Reference in New Issue
Block a user