1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-06 06:57:39 +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[]
{
new StatisticItem("Timing Distribution", () => new HitEventTimingDistributionGraph(score.HitEvents)
new StatisticItem("Performance Breakdown", () => new PerformanceBreakdownChart(score, playableBeatmap)
{
RelativeSizeAxes = Axes.X,
Height = 250
}, true),
AutoSizeAxes = Axes.Y
}),
}
},
new StatisticRow
{
Columns = new[]
{
new StatisticItem("Performance Breakdown", () => new PerformanceBreakdownChart(score, playableBeatmap)
new StatisticItem("Timing Distribution", () => new HitEventTimingDistributionGraph(score.HitEvents)
{
RelativeSizeAxes = Axes.X,
AutoSizeAxes = Axes.Y
}),
Height = 250
}, true),
}
},
new StatisticRow

View File

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

View File

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