diff options
author | Isaac Marovitz <42140194+IsaacMarovitz@users.noreply.github.com> | 2023-01-08 21:36:11 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-09 03:36:11 +0100 |
commit | ee6e682ab426fb9d1b15e0df73d9c1e26c4cc4b3 (patch) | |
tree | 9b35a812e8c97264005c9a2d373b5e30f88d929d | |
parent | 6f60e102a29aa04fff5c6bcdec37213b2d8ac646 (diff) |
Fix selection bar (#4236)1.1.522
-rw-r--r-- | Ryujinx.Ava/UI/Controls/GameGridView.axaml | 3 | ||||
-rw-r--r-- | Ryujinx.Ava/UI/Controls/GameListView.axaml | 6 |
2 files changed, 6 insertions, 3 deletions
diff --git a/Ryujinx.Ava/UI/Controls/GameGridView.axaml b/Ryujinx.Ava/UI/Controls/GameGridView.axaml index 1c4d7638..02e8f0f8 100644 --- a/Ryujinx.Ava/UI/Controls/GameGridView.axaml +++ b/Ryujinx.Ava/UI/Controls/GameGridView.axaml @@ -139,6 +139,9 @@ <Style Selector="ListBoxItem:pointerover /template/ ContentPresenter"> <Setter Property="Background" Value="{DynamicResource AppListHoverBackgroundColor}" /> </Style> + <Style Selector="ListBoxItem:selected /template/ Border#SelectionIndicator"> + <Setter Property="MinHeight" Value="{Binding $parent[UserControl].DataContext.GridItemSelectorSize}" /> + </Style> </ListBox.Styles> <ListBox.ItemTemplate> <DataTemplate> diff --git a/Ryujinx.Ava/UI/Controls/GameListView.axaml b/Ryujinx.Ava/UI/Controls/GameListView.axaml index d886ecbe..018b0609 100644 --- a/Ryujinx.Ava/UI/Controls/GameListView.axaml +++ b/Ryujinx.Ava/UI/Controls/GameListView.axaml @@ -137,12 +137,12 @@ <Style Selector="ListBoxItem:selected /template/ ContentPresenter"> <Setter Property="Background" Value="{DynamicResource AppListBackgroundColor}" /> </Style> - <Style Selector="ListBoxItem:selected /template/ Border#SelectionIndicator"> - <Setter Property="MinHeight" Value="100" /> - </Style> <Style Selector="ListBoxItem:pointerover /template/ ContentPresenter"> <Setter Property="Background" Value="{DynamicResource AppListHoverBackgroundColor}" /> </Style> + <Style Selector="ListBoxItem:selected /template/ Border#SelectionIndicator"> + <Setter Property="MinHeight" Value="{Binding $parent[UserControl].DataContext.ListItemSelectorSize}" /> + </Style> </ListBox.Styles> <ListBox.ItemTemplate> <DataTemplate> |