mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 12:42:54 +08:00
Move load() under the ctor
This commit is contained in:
parent
eb5dad08aa
commit
b2885e7b13
@ -113,6 +113,12 @@ namespace osu.Game.Overlays.Comments
|
||||
});
|
||||
}
|
||||
|
||||
[BackgroundDependencyLoader]
|
||||
private void load()
|
||||
{
|
||||
background.Colour = colours.Gray2;
|
||||
}
|
||||
|
||||
protected override void LoadComplete()
|
||||
{
|
||||
Sort.BindValueChanged(onSortChanged, true);
|
||||
@ -184,12 +190,6 @@ namespace osu.Game.Overlays.Comments
|
||||
}, loadCancellation.Token);
|
||||
}
|
||||
|
||||
[BackgroundDependencyLoader]
|
||||
private void load()
|
||||
{
|
||||
background.Colour = colours.Gray2;
|
||||
}
|
||||
|
||||
protected override void Dispose(bool isDisposing)
|
||||
{
|
||||
request?.Cancel();
|
||||
|
Loading…
Reference in New Issue
Block a user