mirror of
https://github.com/zen-browser/desktop.git
synced 2025-09-05 19:08:18 +00:00
Disable smooth scroll on startup and add comment for sidebar animation duration
This commit is contained in:
@@ -188,7 +188,7 @@ pref('zen.splitView.change-on-hover', false);
|
||||
pref('zen.splitView.rearrange-hover-size', 24);
|
||||
|
||||
// Startup flags
|
||||
pref('zen.startup.smooth-scroll-in-tabs', true);
|
||||
pref('zen.startup.smooth-scroll-in-tabs', false);
|
||||
|
||||
// Zen Workspaces
|
||||
pref('zen.workspaces.disabled_for_testing', false);
|
||||
|
@@ -321,7 +321,7 @@ var gZenCompactModeManager = {
|
||||
this._animatingElements[target.id] = true;
|
||||
setTimeout(() => {
|
||||
delete this._animatingElements[target.id];
|
||||
}, 312.5);
|
||||
}, 312.5); // 0.3125s is the duration of the sidebar animation (the longest one)
|
||||
});
|
||||
|
||||
target.addEventListener('mouseleave', (event) => {
|
||||
|
Reference in New Issue
Block a user