From a4794ae3f21a86e8432430f1d1cfcf24ef60c615 Mon Sep 17 00:00:00 2001 From: stoj Date: Mon, 21 Aug 2023 21:51:51 +0800 Subject: [PATCH] feeder: fixed the missing tab item selection underline --- ClrVpin/Feeder/FeederResults.xaml | 3 ++- ClrVpin/Feeder/FeederResultsViewModel.cs | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/ClrVpin/Feeder/FeederResults.xaml b/ClrVpin/Feeder/FeederResults.xaml index 78b684d..9d4439d 100644 --- a/ClrVpin/Feeder/FeederResults.xaml +++ b/ClrVpin/Feeder/FeederResults.xaml @@ -711,10 +711,11 @@ - diff --git a/ClrVpin/Feeder/FeederResultsViewModel.cs b/ClrVpin/Feeder/FeederResultsViewModel.cs index 59dd0bb..193eac4 100644 --- a/ClrVpin/Feeder/FeederResultsViewModel.cs +++ b/ClrVpin/Feeder/FeederResultsViewModel.cs @@ -400,7 +400,7 @@ private void UpdateOnlineGameFileDetails() UpdateIsNew(file, fileCollectionTypeEnum, OnlineFileTypeEnum.Tables, () => file is TableFile { IsBlackWhiteMod: true } && !Settings.SelectedMiscFeatureOptions.Contains(MiscFeatureOptionEnum.BlackAndWhiteMod)); - // - full DMD, i.e. included in the backglass + // - full DMD, true if the DMD is included as part of the backglass UpdateIsNew(file, fileCollectionTypeEnum, OnlineFileTypeEnum.Backglasses, () => file is ImageFile { IsFullDmd: true } && !Settings.SelectedMiscFeatureOptions.Contains(MiscFeatureOptionEnum.FullDmd)); @@ -414,7 +414,7 @@ private void UpdateOnlineGameFileDetails() fileCollection.Title = fileCollectionType; - // used for the tab item 'is new' indicator + // used for assigning 'new' indicator fileCollection.IsNew = fileCollection.Any(file => file.IsNew); // used for assigning the 'green' color and automatically moving the tab selection