mirror of
https://github.com/ppy/osu.git
synced 2025-01-06 06:53:21 +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:
parent
ef823d58a7
commit
7529d6fc00
@ -64,13 +64,14 @@ namespace osu.Game.Screens.OnlinePlay.Multiplayer.Match.Playlist
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
playlistTabControl.QueueItems.BindTarget = queueList.Items;
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override void LoadComplete()
|
protected override void LoadComplete()
|
||||||
{
|
{
|
||||||
base.LoadComplete();
|
base.LoadComplete();
|
||||||
DisplayMode.BindValueChanged(onDisplayModeChanged, true);
|
DisplayMode.BindValueChanged(onDisplayModeChanged, true);
|
||||||
playlistTabControl.QueueItems.BindTarget = queueList.Items;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private void onDisplayModeChanged(ValueChangedEvent<MultiplayerPlaylistDisplayMode> mode)
|
private void onDisplayModeChanged(ValueChangedEvent<MultiplayerPlaylistDisplayMode> mode)
|
||||||
|
Loading…
Reference in New Issue
Block a user