1
0
Fork 1
mirror of https://github.com/zen-browser/desktop.git synced 2025-07-08 17:39: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:
mr. m 2025-06-16 12:09:34 +02:00
parent ab2a982bf0
commit bf95bc7078
No known key found for this signature in database
GPG key ID: 419302196C23B258
2 changed files with 4 additions and 2 deletions

View file

@ -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 */

View file

@ -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() {