mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 12:57:36 +08:00
Show bonus judgements on expanded panel
This commit is contained in:
parent
c0bc6a75b3
commit
6ac70945f2
@ -217,9 +217,6 @@ namespace osu.Game.Scoring
|
||||
{
|
||||
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.Framework.Graphics.Shapes;
|
||||
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 @@ namespace osu.Game.Screens.Ranking.Contracted
|
||||
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
Block a user