1
0
Fork 1
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:
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 {
display: grid;
grid-template-rows: auto 1fr; /* Allow content below button box */
overflow: hidden;
overflow: clip;
}
/* Style top buttons customization target */

View file

@ -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');
});
});
}