Skip to content

Commit

Permalink
Fix TabStripItem:selected style. Fix #298
Browse files Browse the repository at this point in the history
  • Loading branch information
SKProCH committed Oct 1, 2023
1 parent e389f96 commit fe103bd
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Material.Styles/Resources/Themes/TabStripItem.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@

<Style Selector="^:selected">
<Setter Property="assists:TabControlAssist.TabHeaderForeground"
Value="{Binding Path=(assists:TabControlAssist.TabHeaderHighlightBrush), RelativeSource={RelativeSource AncestorType=TabControl}}" />
Value="{Binding Path=(assists:TabControlAssist.TabHeaderHighlightBrush), RelativeSource={RelativeSource AncestorType=TabStrip}}" />
</Style>

<Style Selector="^:selected /template/ Border#border">
Expand All @@ -66,6 +66,5 @@
</ControlTheme>

<ControlTheme x:Key="{x:Type TabStripItem}" TargetType="TabStripItem"
BasedOn="{StaticResource MaterialTabStripItem}">
</ControlTheme>
BasedOn="{StaticResource MaterialTabStripItem}" />
</ResourceDictionary>

0 comments on commit fe103bd

Please sign in to comment.