From bf95bc707876edad8fb6597d20be4a95c44c3b2a Mon Sep 17 00:00:00 2001 From: "mr. m" Date: Mon, 16 Jun 2025 12:09:34 +0200 Subject: [PATCH] feat: Wait one more frame before marking the sidebar as hover, b=no-bug, c=tabs, workspaces --- src/zen/tabs/zen-tabs/vertical-tabs.css | 2 +- src/zen/workspaces/ZenWorkspaces.mjs | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/zen/tabs/zen-tabs/vertical-tabs.css b/src/zen/tabs/zen-tabs/vertical-tabs.css index 80043e455..cd6464871 100644 --- a/src/zen/tabs/zen-tabs/vertical-tabs.css +++ b/src/zen/tabs/zen-tabs/vertical-tabs.css @@ -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 */ diff --git a/src/zen/workspaces/ZenWorkspaces.mjs b/src/zen/workspaces/ZenWorkspaces.mjs index a07727596..d76d0da95 100644 --- a/src/zen/workspaces/ZenWorkspaces.mjs +++ b/src/zen/workspaces/ZenWorkspaces.mjs @@ -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'); + }); }); }