mirror of
https://github.com/osukey/osukey.git
synced 2025-08-05 23:53:51 +09:00
Cache beatmap tracker and bind to selected item in RoomSubScreen
This commit is contained in:
@ -40,6 +40,17 @@ namespace osu.Game.Screens.OnlinePlay.Match
|
||||
|
||||
private IBindable<WeakReference<BeatmapSetInfo>> managerUpdated;
|
||||
|
||||
[Cached]
|
||||
protected readonly MultiplayerBeatmapTracker BeatmapTracker;
|
||||
|
||||
protected RoomSubScreen()
|
||||
{
|
||||
InternalChild = BeatmapTracker = new MultiplayerBeatmapTracker
|
||||
{
|
||||
SelectedItem = { BindTarget = SelectedItem },
|
||||
};
|
||||
}
|
||||
|
||||
[BackgroundDependencyLoader]
|
||||
private void load(AudioManager audio)
|
||||
{
|
||||
|
Reference in New Issue
Block a user