mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 21:02:55 +08:00
Improve load order
This commit is contained in:
parent
176e1e7ec2
commit
2936f83fd9
@ -79,12 +79,9 @@ namespace osu.Game.Tests.Visual.Online
|
||||
[BackgroundDependencyLoader]
|
||||
private void load()
|
||||
{
|
||||
AddRange(new Drawable[] { ChannelManager, NotificationOverlay });
|
||||
AddRange(new Drawable[] { ChannelManager, ChatOverlay, NotificationOverlay, MessageNotifier });
|
||||
|
||||
((BindableList<Channel>)ChannelManager.AvailableChannels).AddRange(channels);
|
||||
|
||||
AddRange(new Drawable[] { ChatOverlay, MessageNotifier });
|
||||
|
||||
((BindableList<Channel>)ChannelManager.JoinedChannels).AddRange(channels);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user