mirror of
https://github.com/zen-browser/desktop.git
synced 2026-04-20 22:35:39 +00:00
feat: Lower the amount of waiting time between workspace siwtches, b=no-bug, c=common, workspaces
This commit is contained in:
@@ -100,7 +100,8 @@
|
||||
opacity: var(--zen-grainy-background-opacity, 0);
|
||||
mix-blend-mode: overlay;
|
||||
:root:not([swipe-gesture='true']) & {
|
||||
transition: opacity 0.3s ease-in-out;
|
||||
/* note: Keep in sync with kGlobalAnimationDuration */
|
||||
transition: opacity 0.2s ease-in-out;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1807,7 +1807,7 @@ var gZenWorkspaces = new (class extends nsZenMultiWindowFeature {
|
||||
{ previousWorkspaceIndex = null, previousWorkspace = null, onInit = false } = {}
|
||||
) {
|
||||
gZenUIManager.tabsWrapper.style.scrollbarWidth = 'none';
|
||||
const kGlobalAnimationDuration = 0.3;
|
||||
const kGlobalAnimationDuration = 0.2;
|
||||
this._animatingChange = true;
|
||||
const animations = [];
|
||||
const workspaces = await this._workspaces();
|
||||
|
||||
Reference in New Issue
Block a user