mirror of
https://github.com/zen-browser/desktop.git
synced 2026-01-05 21:07:57 +00:00
feat: Wait one more frame before marking the sidebar as hover, b=no-bug, c=tabs, workspaces
This commit is contained in:
@@ -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');
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user