Skip to content

Commit

Permalink
Merge pull request #215 from StillGreen-san/tab_bar_hovered_appearance
Browse files Browse the repository at this point in the history
change TabBar hovered appearance for default style
  • Loading branch information
Andrew Wheeler(Genusis) authored Feb 29, 2024
2 parents be6997c + e29d22e commit 3eb5d2b
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 3eb5d2b

Please sign in to comment.