From e29d22e10f949e7d85874473fd58c4e08e2e9978 Mon Sep 17 00:00:00 2001 From: StillGreen-san <40620628+StillGreen-san@users.noreply.github.com> Date: Thu, 29 Feb 2024 18:09:55 +0100 Subject: [PATCH] change tab_bar hovered appearance for default style --- src/style/tab_bar.rs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/style/tab_bar.rs b/src/style/tab_bar.rs index 1c823cc5..bbc75417 100644 --- a/src/style/tab_bar.rs +++ b/src/style/tab_bar.rs @@ -191,11 +191,7 @@ impl StyleSheet for Theme { let palette = self.extended_palette(); match style { TabBarStyles::Default => Appearance { - tab_label_background: Background::Color(if is_active { - palette.background.strong.color - } else { - palette.primary.strong.color - }), + tab_label_background: Background::Color(palette.primary.strong.color), ..self.active(style, is_active) }, TabBarStyles::Dark => Appearance {