Further code cleanup

This commit is contained in:
Dean Herbert
2020-12-15 15:44:56 +09:00
parent b5ab400ad7
commit e37089af5e
2 changed files with 15 additions and 55 deletions

View File

@ -22,7 +22,6 @@ namespace osu.Game.Screens.Play.HUD
public Action OnScoreChange;
private int? scorePosition;
public int? InitialPosition;
public int? ScorePosition
{
@ -65,7 +64,7 @@ namespace osu.Game.Screens.Play.HUD
}
}
public GameplayLeaderboardScore(int? initialPosition)
public GameplayLeaderboardScore()
{
RelativeSizeAxes = Axes.X;
AutoSizeAxes = Axes.Y;
@ -125,8 +124,6 @@ namespace osu.Game.Screens.Play.HUD
},
},
};
InitialPosition = ScorePosition = initialPosition;
}
[BackgroundDependencyLoader]