diff options
Diffstat (limited to 'Ryujinx.Ava/UI/Views/User')
| -rw-r--r-- | Ryujinx.Ava/UI/Views/User/UserSaveManagerView.axaml | 12 | ||||
| -rw-r--r-- | Ryujinx.Ava/UI/Views/User/UserSaveManagerView.axaml.cs | 7 |
2 files changed, 15 insertions, 4 deletions
diff --git a/Ryujinx.Ava/UI/Views/User/UserSaveManagerView.axaml b/Ryujinx.Ava/UI/Views/User/UserSaveManagerView.axaml index cdf74d52..b4f2e101 100644 --- a/Ryujinx.Ava/UI/Views/User/UserSaveManagerView.axaml +++ b/Ryujinx.Ava/UI/Views/User/UserSaveManagerView.axaml @@ -55,6 +55,11 @@ HorizontalContentAlignment="Left" Content="{locale:Locale Size}" /> </ComboBoxItem> + <ComboBox.Styles> + <Style Selector="ContentControl#ContentPresenter"> + <Setter Property="HorizontalAlignment" Value="Left" /> + </Style> + </ComboBox.Styles> </ComboBox> <ComboBox SelectedIndex="{Binding OrderIndex}" Width="150"> <ComboBoxItem> @@ -69,6 +74,11 @@ HorizontalContentAlignment="Left" Content="{locale:Locale OrderDescending}" /> </ComboBoxItem> + <ComboBox.Styles> + <Style Selector="ContentControl#ContentPresenter"> + <Setter Property="HorizontalAlignment" Value="Left" /> + </Style> + </ComboBox.Styles> </ComboBox> </StackPanel> <Grid @@ -122,6 +132,8 @@ Height="42" Width="42" Padding="10" + BorderBrush="{DynamicResource AppListHoverBackgroundColor}" + BorderThickness="1" IsVisible="{Binding !InGameList}"> <ui:SymbolIcon Symbol="Help" diff --git a/Ryujinx.Ava/UI/Views/User/UserSaveManagerView.axaml.cs b/Ryujinx.Ava/UI/Views/User/UserSaveManagerView.axaml.cs index 9d955326..074ca30e 100644 --- a/Ryujinx.Ava/UI/Views/User/UserSaveManagerView.axaml.cs +++ b/Ryujinx.Ava/UI/Views/User/UserSaveManagerView.axaml.cs @@ -94,7 +94,7 @@ namespace Ryujinx.Ava.UI.Views.User var save = saveDataInfo[i]; if (save.ProgramId.Value != 0) { - var saveModel = new SaveModel(save, _horizonClient, _virtualFileSystem); + var saveModel = new SaveModel(save, _virtualFileSystem); saves.Add(saveModel); } } @@ -137,10 +137,9 @@ namespace Ryujinx.Ava.UI.Views.User if (result == UserResult.Yes) { _horizonClient.Fs.DeleteSaveData(SaveDataSpaceId.User, saveModel.SaveId); + ViewModel.Saves.Remove(saveModel); + ViewModel.Sort(); } - - ViewModel.Saves.Remove(saveModel); - ViewModel.Views.Remove(saveModel); } } } |
