Skip to content

Commit d7fd218

Browse files
authored
Code Quality: Fixed pointer states on Omnibar clear button (#17230)
1 parent 4375067 commit d7fd218

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/Files.App.Controls/Omnibar/Omnibar.xaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,12 @@
375375
FontSize="{StaticResource TextBoxIconFontSize}"
376376
Foreground="{ThemeResource TextControlButtonForeground}"
377377
IsTabStop="False"
378-
Visibility="Collapsed" />
378+
Visibility="Collapsed">
379+
<Button.Resources>
380+
<SolidColorBrush x:Key="ButtonBackgroundPointerOver" Color="{ThemeResource SubtleFillColorSecondary}" />
381+
<SolidColorBrush x:Key="ButtonBackgroundPressed" Color="{ThemeResource SubtleFillColorTertiary}" />
382+
</Button.Resources>
383+
</Button>
379384
</Grid>
380385

381386
<!-- Description -->

0 commit comments

Comments
 (0)