Browse Source

Fixed bug failing to match the focus state in ComboBox (#19147)

Co-authored-by: Jins <devjins@163.com>
pull/19167/head
Jins 1 year ago
committed by GitHub
parent
commit
6c1c00106f
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      src/Avalonia.Themes.Fluent/Controls/ComboBox.xaml

2
src/Avalonia.Themes.Fluent/Controls/ComboBox.xaml

@ -158,7 +158,7 @@
</Style> </Style>
<!-- Focus Pressed State --> <!-- Focus Pressed State -->
<Style Selector="^:focused:pressed"> <Style Selector="^:focus:pressed">
<Style Selector="^ /template/ ContentControl#ContentPresenter"> <Style Selector="^ /template/ ContentControl#ContentPresenter">
<Setter Property="Foreground" Value="{DynamicResource ComboBoxForegroundFocusedPressed}" /> <Setter Property="Foreground" Value="{DynamicResource ComboBoxForegroundFocusedPressed}" />
</Style> </Style>

Loading…
Cancel
Save