mirror of https://github.com/ppy/osu
Show bonus judgements on expanded panel
This commit is contained in:
parent
c0bc6a75b3
commit
6ac70945f2
|
@ -217,9 +217,6 @@ public IEnumerable<HitResultDisplayStatistic> GetStatisticsForDisplay()
|
|||
{
|
||||
foreach (var r in Ruleset.CreateInstance().GetHitResults())
|
||||
{
|
||||
if (r.result.IsBonus())
|
||||
continue;
|
||||
|
||||
int value = Statistics.GetOrDefault(r.result);
|
||||
|
||||
switch (r.result)
|
||||
|
|
|
@ -12,6 +12,7 @@
|
|||
using osu.Game.Graphics;
|
||||
using osu.Game.Graphics.Sprites;
|
||||
using osu.Game.Online.Leaderboards;
|
||||
using osu.Game.Rulesets.Scoring;
|
||||
using osu.Game.Scoring;
|
||||
using osu.Game.Screens.Play.HUD;
|
||||
using osu.Game.Users;
|
||||
|
@ -115,7 +116,7 @@ private void load()
|
|||
AutoSizeAxes = Axes.Y,
|
||||
Direction = FillDirection.Vertical,
|
||||
Spacing = new Vector2(0, 5),
|
||||
ChildrenEnumerable = score.GetStatisticsForDisplay().Select(createStatistic)
|
||||
ChildrenEnumerable = score.GetStatisticsForDisplay().Where(s => !s.Result.IsBonus()).Select(createStatistic)
|
||||
},
|
||||
new FillFlowContainer
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue