mirror of
https://github.com/ppy/osu
synced 2024-12-14 02:46:27 +00:00
Remove unused Content
override
This commit is contained in:
parent
b9dac6c3b2
commit
64925b3fea
@ -29,7 +29,7 @@ namespace osu.Game.Online.Leaderboards
|
||||
/// </summary>
|
||||
/// <typeparam name="TScope">The scope of the leaderboard (ie. global or local).</typeparam>
|
||||
/// <typeparam name="TScoreInfo">The score model class.</typeparam>
|
||||
public abstract class Leaderboard<TScope, TScoreInfo> : Container
|
||||
public abstract class Leaderboard<TScope, TScoreInfo> : CompositeDrawable
|
||||
{
|
||||
private const double fade_duration = 300;
|
||||
|
||||
@ -58,10 +58,6 @@ namespace osu.Game.Online.Leaderboards
|
||||
|
||||
private readonly IBindable<APIState> apiState = new Bindable<APIState>();
|
||||
|
||||
private readonly Container content;
|
||||
|
||||
protected override Container<Drawable> Content => content;
|
||||
|
||||
private ICollection<TScoreInfo> scores;
|
||||
|
||||
public ICollection<TScoreInfo> Scores
|
||||
@ -231,7 +227,7 @@ namespace osu.Game.Online.Leaderboards
|
||||
},
|
||||
new Drawable[]
|
||||
{
|
||||
content = new Container
|
||||
new Container
|
||||
{
|
||||
AutoSizeAxes = Axes.Y,
|
||||
RelativeSizeAxes = Axes.X,
|
||||
|
Loading…
Reference in New Issue
Block a user