mirror of
https://github.com/zen-browser/desktop.git
synced 2025-07-07 23:00:01 +02:00
feat: Wait one more frame before marking the sidebar as hover, b=no-bug, c=tabs, workspaces
This commit is contained in:
parent
ab2a982bf0
commit
bf95bc7078
2 changed files with 4 additions and 2 deletions
|
@ -809,7 +809,7 @@
|
|||
& #titlebar {
|
||||
display: grid;
|
||||
grid-template-rows: auto 1fr; /* Allow content below button box */
|
||||
overflow: hidden;
|
||||
overflow: clip;
|
||||
}
|
||||
|
||||
/* Style top buttons customization target */
|
||||
|
|
|
@ -562,7 +562,9 @@ var gZenWorkspaces = new (class extends ZenMultiWindowFeature {
|
|||
break;
|
||||
}
|
||||
requestAnimationFrame(() => {
|
||||
gNavToolbox.setAttribute('zen-has-hover', 'true');
|
||||
requestAnimationFrame(() => {
|
||||
gNavToolbox.setAttribute('zen-has-hover', 'true');
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue