mirror of
https://github.com/zen-browser/desktop.git
synced 2025-07-08 19:59:59 +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 {
|
& #titlebar {
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-rows: auto 1fr; /* Allow content below button box */
|
grid-template-rows: auto 1fr; /* Allow content below button box */
|
||||||
overflow: hidden;
|
overflow: clip;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Style top buttons customization target */
|
/* Style top buttons customization target */
|
||||||
|
|
|
@ -561,9 +561,11 @@ var gZenWorkspaces = new (class extends ZenMultiWindowFeature {
|
||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
requestAnimationFrame(() => {
|
||||||
requestAnimationFrame(() => {
|
requestAnimationFrame(() => {
|
||||||
gNavToolbox.setAttribute('zen-has-hover', 'true');
|
gNavToolbox.setAttribute('zen-has-hover', 'true');
|
||||||
});
|
});
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
_setupSidebarHandlers() {
|
_setupSidebarHandlers() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue