1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-13 19:53:23 +08:00

Move performance breakdown to the top to prevent re-ordering after watching replay

This commit is contained in:
Henry Lin 2022-02-05 21:39:01 +08:00
parent 0b1fef38af
commit ee6d4b2583
3 changed files with 23 additions and 23 deletions

View File

@ -370,22 +370,22 @@ namespace osu.Game.Rulesets.Mania
{ {
Columns = new[] Columns = new[]
{ {
new StatisticItem("Timing Distribution", () => new HitEventTimingDistributionGraph(score.HitEvents) new StatisticItem("Performance Breakdown", () => new PerformanceBreakdownChart(score, playableBeatmap)
{ {
RelativeSizeAxes = Axes.X, RelativeSizeAxes = Axes.X,
Height = 250 AutoSizeAxes = Axes.Y
}, true), }),
} }
}, },
new StatisticRow new StatisticRow
{ {
Columns = new[] Columns = new[]
{ {
new StatisticItem("Performance Breakdown", () => new PerformanceBreakdownChart(score, playableBeatmap) new StatisticItem("Timing Distribution", () => new HitEventTimingDistributionGraph(score.HitEvents)
{ {
RelativeSizeAxes = Axes.X, RelativeSizeAxes = Axes.X,
AutoSizeAxes = Axes.Y Height = 250
}), }, true),
} }
}, },
new StatisticRow new StatisticRow

View File

@ -275,6 +275,17 @@ namespace osu.Game.Rulesets.Osu
return new[] return new[]
{ {
new StatisticRow
{
Columns = new[]
{
new StatisticItem("Performance Breakdown", () => new PerformanceBreakdownChart(score, playableBeatmap)
{
RelativeSizeAxes = Axes.X,
AutoSizeAxes = Axes.Y
}),
}
},
new StatisticRow new StatisticRow
{ {
Columns = new[] Columns = new[]
@ -298,17 +309,6 @@ namespace osu.Game.Rulesets.Osu
} }
}, },
new StatisticRow new StatisticRow
{
Columns = new[]
{
new StatisticItem("Performance Breakdown", () => new PerformanceBreakdownChart(score, playableBeatmap)
{
RelativeSizeAxes = Axes.X,
AutoSizeAxes = Axes.Y
}),
}
},
new StatisticRow
{ {
Columns = new[] Columns = new[]
{ {

View File

@ -213,22 +213,22 @@ namespace osu.Game.Rulesets.Taiko
{ {
Columns = new[] Columns = new[]
{ {
new StatisticItem("Timing Distribution", () => new HitEventTimingDistributionGraph(timedHitEvents) new StatisticItem("Performance Breakdown", () => new PerformanceBreakdownChart(score, playableBeatmap)
{ {
RelativeSizeAxes = Axes.X, RelativeSizeAxes = Axes.X,
Height = 250 AutoSizeAxes = Axes.Y
}, true), }),
} }
}, },
new StatisticRow new StatisticRow
{ {
Columns = new[] Columns = new[]
{ {
new StatisticItem("Performance Breakdown", () => new PerformanceBreakdownChart(score, playableBeatmap) new StatisticItem("Timing Distribution", () => new HitEventTimingDistributionGraph(timedHitEvents)
{ {
RelativeSizeAxes = Axes.X, RelativeSizeAxes = Axes.X,
AutoSizeAxes = Axes.Y Height = 250
}), }, true),
} }
}, },
new StatisticRow new StatisticRow