mirror of
https://github.com/zen-browser/desktop.git
synced 2026-08-28 01:11:32 +00:00
Disable smooth scroll on startup and add comment for sidebar animation duration
This commit is contained in:
@@ -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