Make collection name a bindable

This commit is contained in:
smoogipoo
2020-09-05 04:43:51 +09:00
parent 345fb9d8e0
commit 4b4dd02942
7 changed files with 13 additions and 10 deletions

View File

@ -239,7 +239,7 @@ namespace osu.Game.Screens.Select.Carousel
private MenuItem createCollectionMenuItem(BeatmapCollection collection)
{
return new ToggleMenuItem(collection.Name, MenuItemType.Standard, s =>
return new ToggleMenuItem(collection.Name.Value, MenuItemType.Standard, s =>
{
if (s)
collection.Beatmaps.Add(beatmap);