mirror of
https://github.com/ppy/osu.git
synced 2025-01-16 01:42:58 +08:00
Merge branch 'master' into bad-bad-ratio-container
This commit is contained in:
commit
1278d9c53d
@ -206,18 +206,12 @@ namespace osu.Game.Overlays
|
|||||||
|
|
||||||
private long? lastMessageId;
|
private long? lastMessageId;
|
||||||
|
|
||||||
private List<Channel> careChannels;
|
private readonly List<Channel> careChannels = new List<Channel>();
|
||||||
|
|
||||||
private readonly List<DrawableChannel> loadedChannels = new List<DrawableChannel>();
|
private readonly List<DrawableChannel> loadedChannels = new List<DrawableChannel>();
|
||||||
|
|
||||||
private void initializeChannels()
|
private void initializeChannels()
|
||||||
{
|
{
|
||||||
currentChannelContainer.Clear();
|
|
||||||
|
|
||||||
loadedChannels.Clear();
|
|
||||||
|
|
||||||
careChannels = new List<Channel>();
|
|
||||||
|
|
||||||
SpriteText loading;
|
SpriteText loading;
|
||||||
Add(loading = new OsuSpriteText
|
Add(loading = new OsuSpriteText
|
||||||
{
|
{
|
||||||
@ -232,8 +226,6 @@ namespace osu.Game.Overlays
|
|||||||
ListChannelsRequest req = new ListChannelsRequest();
|
ListChannelsRequest req = new ListChannelsRequest();
|
||||||
req.Success += delegate (List<Channel> channels)
|
req.Success += delegate (List<Channel> channels)
|
||||||
{
|
{
|
||||||
Debug.Assert(careChannels.Count == 0);
|
|
||||||
|
|
||||||
Scheduler.Add(delegate
|
Scheduler.Add(delegate
|
||||||
{
|
{
|
||||||
loading.FadeOut(100);
|
loading.FadeOut(100);
|
||||||
|
Loading…
Reference in New Issue
Block a user