mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 03:22:55 +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()
|
protected override void LoadComplete()
|
||||||
{
|
{
|
||||||
Sort.BindValueChanged(onSortChanged, true);
|
Sort.BindValueChanged(onSortChanged, true);
|
||||||
@ -184,12 +190,6 @@ namespace osu.Game.Overlays.Comments
|
|||||||
}, loadCancellation.Token);
|
}, loadCancellation.Token);
|
||||||
}
|
}
|
||||||
|
|
||||||
[BackgroundDependencyLoader]
|
|
||||||
private void load()
|
|
||||||
{
|
|
||||||
background.Colour = colours.Gray2;
|
|
||||||
}
|
|
||||||
|
|
||||||
protected override void Dispose(bool isDisposing)
|
protected override void Dispose(bool isDisposing)
|
||||||
{
|
{
|
||||||
request?.Cancel();
|
request?.Cancel();
|
||||||
|
Loading…
Reference in New Issue
Block a user