From f01e2d502ab67dbf8b58d3045994d985bb567fb8 Mon Sep 17 00:00:00 2001 From: wukko Date: Tue, 7 Oct 2025 01:06:07 +0600 Subject: [PATCH] helium/ui/tabs: fix unexpected shifting on hover fixes #127 --- patches/helium/ui/tabs.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/patches/helium/ui/tabs.patch b/patches/helium/ui/tabs.patch index 5494757c..593d0855 100644 --- a/patches/helium/ui/tabs.patch +++ b/patches/helium/ui/tabs.patch @@ -94,6 +94,17 @@ if (showing_close_button_) { available_width -= close_button_width; } +@@ -1229,10 +1233,6 @@ void Tab::UpdateIconVisibility() { + } + } + } +- +- extra_alert_indicator_padding_ = showing_alert_indicator_ && +- showing_close_button_ && +- large_enough_for_close_button; + } + + bool Tab::ShouldRenderAsNormalTab() const { --- a/chrome/browser/ui/views/tabs/tab.h +++ b/chrome/browser/ui/views/tabs/tab.h @@ -69,7 +69,7 @@ class Tab : public gfx::AnimationDelegat