Skip to content

Commit

Permalink
change tab_bar hovered appearance for default style
Browse files Browse the repository at this point in the history
  • Loading branch information
StillGreen-san committed Feb 29, 2024
1 parent be6997c commit e29d22e
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/style/tab_bar.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit e29d22e

Please sign in to comment.