mirror of
https://github.com/ppy/osu.git
synced 2025-01-31 14:15:03 +08:00
Move drawable init properties to constructor
This commit is contained in:
parent
228731493e
commit
2bd28e6718
@ -86,6 +86,10 @@ namespace osu.Game.Online.Leaderboards
|
||||
this.score = score;
|
||||
this.rank = rank;
|
||||
this.isPersonalBest = isPersonalBest;
|
||||
|
||||
Shear = shear;
|
||||
RelativeSizeAxes = Axes.X;
|
||||
Height = height;
|
||||
}
|
||||
|
||||
[BackgroundDependencyLoader]
|
||||
@ -98,9 +102,6 @@ namespace osu.Game.Online.Leaderboards
|
||||
|
||||
statisticsLabels = GetStatistics(score).Select(s => new ScoreComponentLabel(s, score)).ToList();
|
||||
|
||||
Shear = shear;
|
||||
RelativeSizeAxes = Axes.X;
|
||||
Height = height;
|
||||
Child = content = new Container
|
||||
{
|
||||
Masking = true,
|
||||
|
Loading…
Reference in New Issue
Block a user