Apply refactorings for framework-side changes

This commit is contained in:
smoogipoo
2020-01-30 19:00:59 +09:00
parent ebf15c6a1c
commit f6ba98eec0
2 changed files with 18 additions and 58 deletions

View File

@ -21,7 +21,9 @@ namespace osu.Game.Overlays.Music
private const float transition_duration = 600;
private const float playlist_height = 510;
public readonly IBindableList<BeatmapSetInfo> BeatmapSets = new BindableList<BeatmapSetInfo>();
public IBindableList<BeatmapSetInfo> BeatmapSets => beatmapSets;
private readonly BindableList<BeatmapSetInfo> beatmapSets = new BindableList<BeatmapSetInfo>();
private readonly Bindable<WorkingBeatmap> beatmap = new Bindable<WorkingBeatmap>();
private BeatmapManager beatmaps;
@ -72,7 +74,7 @@ namespace osu.Game.Overlays.Music
},
};
list.BeatmapSets.BindTo(BeatmapSets);
list.Items.BindTo(beatmapSets);
filter.Search.OnCommit = (sender, newText) =>
{