mirror of
https://github.com/zen-browser/desktop.git
synced 2025-09-07 11:58:20 +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(() => {
|
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
|
// we are in compact mode and we are exiting it
|
||||||
if (!this.sidebarIsOnRight) {
|
if (!this.sidebarIsOnRight) {
|
||||||
this.sidebar.style.marginLeft = "0";
|
this.sidebar.style.marginLeft = "0";
|
||||||
|
Reference in New Issue
Block a user