1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-21 22:07:25 +08:00

Remove unused constructor param

This commit is contained in:
Bartłomiej Dach 2022-12-24 10:44:38 +01:00
parent 4e5109a649
commit 83a50816b6
No known key found for this signature in database
2 changed files with 1 additions and 9 deletions

View File

@ -104,7 +104,7 @@ namespace osu.Game.Tests.Visual.Ranking
displayUpdate(statistics, statistics);
}
private void createDisplay() => AddStep("create display", () => Child = overallRanking = new OverallRanking(new ScoreInfo())
private void createDisplay() => AddStep("create display", () => Child = overallRanking = new OverallRanking
{
Width = 400,
Anchor = Anchor.Centre,

View File

@ -7,7 +7,6 @@ using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Game.Graphics.UserInterface;
using osu.Game.Online.Solo;
using osu.Game.Scoring;
using osuTK;
namespace osu.Game.Screens.Ranking.Statistics.User
@ -16,18 +15,11 @@ namespace osu.Game.Screens.Ranking.Statistics.User
{
private const float transition_duration = 300;
private readonly ScoreInfo score;
public Bindable<SoloStatisticsUpdate?> StatisticsUpdate { get; } = new Bindable<SoloStatisticsUpdate?>();
private LoadingLayer loadingLayer = null!;
private FillFlowContainer content = null!;
public OverallRanking(ScoreInfo score)
{
this.score = score;
}
[BackgroundDependencyLoader]
private void load()
{