mirror of
https://github.com/zen-browser/desktop.git
synced 2025-07-10 00:55:30 +02:00
Adjusted sidebar transition timing in compact mode for smoother animations
This commit is contained in:
parent
6c67aee8a4
commit
d43bbbd5ba
1 changed files with 1 additions and 1 deletions
|
@ -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";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue