mirror of
https://github.com/osukey/osukey.git
synced 2025-08-07 00:23:59 +09:00
Show bonus judgements on expanded panel
This commit is contained in:
@ -217,9 +217,6 @@ namespace osu.Game.Scoring
|
|||||||
{
|
{
|
||||||
foreach (var r in Ruleset.CreateInstance().GetHitResults())
|
foreach (var r in Ruleset.CreateInstance().GetHitResults())
|
||||||
{
|
{
|
||||||
if (r.result.IsBonus())
|
|
||||||
continue;
|
|
||||||
|
|
||||||
int value = Statistics.GetOrDefault(r.result);
|
int value = Statistics.GetOrDefault(r.result);
|
||||||
|
|
||||||
switch (r.result)
|
switch (r.result)
|
||||||
|
@ -12,6 +12,7 @@ using osu.Framework.Graphics.Shapes;
|
|||||||
using osu.Game.Graphics;
|
using osu.Game.Graphics;
|
||||||
using osu.Game.Graphics.Sprites;
|
using osu.Game.Graphics.Sprites;
|
||||||
using osu.Game.Online.Leaderboards;
|
using osu.Game.Online.Leaderboards;
|
||||||
|
using osu.Game.Rulesets.Scoring;
|
||||||
using osu.Game.Scoring;
|
using osu.Game.Scoring;
|
||||||
using osu.Game.Screens.Play.HUD;
|
using osu.Game.Screens.Play.HUD;
|
||||||
using osu.Game.Users;
|
using osu.Game.Users;
|
||||||
@ -115,7 +116,7 @@ namespace osu.Game.Screens.Ranking.Contracted
|
|||||||
AutoSizeAxes = Axes.Y,
|
AutoSizeAxes = Axes.Y,
|
||||||
Direction = FillDirection.Vertical,
|
Direction = FillDirection.Vertical,
|
||||||
Spacing = new Vector2(0, 5),
|
Spacing = new Vector2(0, 5),
|
||||||
ChildrenEnumerable = score.GetStatisticsForDisplay().Select(createStatistic)
|
ChildrenEnumerable = score.GetStatisticsForDisplay().Where(s => !s.Result.IsBonus()).Select(createStatistic)
|
||||||
},
|
},
|
||||||
new FillFlowContainer
|
new FillFlowContainer
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user