From 75d044b9a6a0999aa29e6c9ca7fbda7dd413314b Mon Sep 17 00:00:00 2001 From: wukko Date: Mon, 15 Dec 2025 14:53:17 +0600 Subject: [PATCH] helium/ui/tabs: fix in-place pinned tab muting/unmuting (#619) fixes #586 --- patches/helium/ui/tabs.patch | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/patches/helium/ui/tabs.patch b/patches/helium/ui/tabs.patch index 162d76f5..cb634e7d 100644 --- a/patches/helium/ui/tabs.patch +++ b/patches/helium/ui/tabs.patch @@ -186,7 +186,7 @@ } bool Tab::ShouldRenderAsNormalTab() const { -@@ -1254,15 +1253,25 @@ void Tab::UpdateTabIconNeedsAttentionBlo +@@ -1254,15 +1253,29 @@ void Tab::UpdateTabIconNeedsAttentionBlo } int Tab::GetWidthOfLargestSelectableRegion() const { @@ -209,6 +209,10 @@ + + int selectable_region = width(); + ++ if (!ShouldRenderAsNormalTab()) { ++ return selectable_region; ++ } ++ + if (alert_indicator_button_->GetVisible()) { + selectable_region = alert_indicator_button_->bounds().right(); + }