1
0
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:
Craftplacer 2020-02-03 23:00:29 +01:00
parent 176e1e7ec2
commit 2936f83fd9

View File

@ -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);
}
}