Hide pp column if map is loved or qualified

This commit is contained in:
TheWildTree
2020-02-26 21:36:52 +01:00
parent beb18006da
commit 397e35d0a0
2 changed files with 20 additions and 19 deletions

View File

@ -96,7 +96,8 @@ namespace osu.Game.Overlays.BeatmapSet.Scores
totalScoreColumn.Text = $@"{value.TotalScore:N0}";
accuracyColumn.Text = value.DisplayAccuracy;
maxComboColumn.Text = $@"{value.MaxCombo:N0}x";
ppColumn.Text = $@"{value.PP ?? 0:N0}";
ppColumn.Alpha = value.PP.HasValue ? 1 : 0;
ppColumn.Text = $@"{value.PP:N0}";
statisticsColumns.ChildrenEnumerable = value.SortedStatistics.Select(kvp => createStatisticsColumn(kvp.Key, kvp.Value));
modsColumn.Mods = value.Mods;