Skip to content

Commit bf95bc7

Browse files
committed
feat: Wait one more frame before marking the sidebar as hover, b=no-bug, c=tabs, workspaces
1 parent ab2a982 commit bf95bc7

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/zen/tabs/zen-tabs/vertical-tabs.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -809,7 +809,7 @@
809809
& #titlebar {
810810
display: grid;
811811
grid-template-rows: auto 1fr; /* Allow content below button box */
812-
overflow: hidden;
812+
overflow: clip;
813813
}
814814

815815
/* Style top buttons customization target */

src/zen/workspaces/ZenWorkspaces.mjs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -562,7 +562,9 @@ var gZenWorkspaces = new (class extends ZenMultiWindowFeature {
562562
break;
563563
}
564564
requestAnimationFrame(() => {
565-
gNavToolbox.setAttribute('zen-has-hover', 'true');
565+
requestAnimationFrame(() => {
566+
gNavToolbox.setAttribute('zen-has-hover', 'true');
567+
});
566568
});
567569
}
568570

0 commit comments

Comments
 (0)