1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 17:47:29 +08:00

Bind queue items during playlist initialization

Along with where the other bindables are bound together (only bind, not
listening).
This commit is contained in:
Salman Ahmed 2022-03-20 06:23:42 +03:00
parent ef823d58a7
commit 7529d6fc00

View File

@ -64,13 +64,14 @@ namespace osu.Game.Screens.OnlinePlay.Multiplayer.Match.Playlist
}
}
};
playlistTabControl.QueueItems.BindTarget = queueList.Items;
}
protected override void LoadComplete()
{
base.LoadComplete();
DisplayMode.BindValueChanged(onDisplayModeChanged, true);
playlistTabControl.QueueItems.BindTarget = queueList.Items;
}
private void onDisplayModeChanged(ValueChangedEvent<MultiplayerPlaylistDisplayMode> mode)