diff options
author | Isaac Marovitz <42140194+IsaacMarovitz@users.noreply.github.com> | 2022-12-05 17:04:18 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-05 22:04:18 +0000 |
commit | 121296834a5aacb7f82d27063902914077f037e0 (patch) | |
tree | 404804f12d406237554e22c81900059c4832e389 /Ryujinx.Ava/Ui/ViewModels/MainWindowViewModel.cs | |
parent | bbb24d8c7e6ccc61ceda1f4223fd68feee3b2f20 (diff) |
Ava GUI: Several UI Fixes (#3991)1.1.428
* Fix accessability violations in ListView
* Use accent colour for favourite star
* Hide progress bar when its done
* App Data Formating
- Added space before storage unit
- Changed so minutes have 0 decimals, and hours and days have 1
* Fix theming
* Fix mismatched corner radius
* Fix acceability violations in GridView
* More consistency between Grid and List View
* Fix margin
* Let whitespace defocus controls
Diffstat (limited to 'Ryujinx.Ava/Ui/ViewModels/MainWindowViewModel.cs')
-rw-r--r-- | Ryujinx.Ava/Ui/ViewModels/MainWindowViewModel.cs | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/Ryujinx.Ava/Ui/ViewModels/MainWindowViewModel.cs b/Ryujinx.Ava/Ui/ViewModels/MainWindowViewModel.cs index c7053eb1..0db20792 100644 --- a/Ryujinx.Ava/Ui/ViewModels/MainWindowViewModel.cs +++ b/Ryujinx.Ava/Ui/ViewModels/MainWindowViewModel.cs @@ -435,9 +435,7 @@ namespace Ryujinx.Ava.Ui.ViewModels OnPropertyChanged(); } } - - public Thickness GridItemPadding => ShowNames ? new Thickness() : new Thickness(5); - + public bool ShowMenuAndStatusBar { get => _showMenuAndStatusBar; @@ -599,7 +597,6 @@ namespace Ryujinx.Ava.Ui.ViewModels ConfigurationState.Instance.Ui.ShowNames.Value = value; OnPropertyChanged(); - OnPropertyChanged(nameof(GridItemPadding)); OnPropertyChanged(nameof(GridSizeScale)); ConfigurationState.Instance.ToFileFormat().SaveConfig(Program.ConfigurationPath); @@ -716,7 +713,6 @@ namespace Ryujinx.Ava.Ui.ViewModels OnPropertyChanged(nameof(IsGridLarge)); OnPropertyChanged(nameof(IsGridHuge)); OnPropertyChanged(nameof(ShowNames)); - OnPropertyChanged(nameof(GridItemPadding)); ConfigurationState.Instance.ToFileFormat().SaveConfig(Program.ConfigurationPath); } @@ -780,6 +776,11 @@ namespace Ryujinx.Ava.Ui.ViewModels { _owner.LoadProgressBar.IsVisible = false; } + + if (e.NumAppsLoaded == e.NumAppsFound) + { + _owner.LoadProgressBar.IsVisible = false; + } }); } |