Rename classes

This commit is contained in:
smoogipoo
2020-09-05 03:55:43 +09:00
parent ebd11ae0b7
commit 345fb9d8e0
12 changed files with 27 additions and 27 deletions

View File

@ -36,10 +36,10 @@ namespace osu.Game.Screens.Select.Carousel
private DialogOverlay dialogOverlay { get; set; }
[Resolved]
private CollectionManager collectionManager { get; set; }
private BeatmapCollectionManager collectionManager { get; set; }
[Resolved(CanBeNull = true)]
private CollectionDialog collectionDialog { get; set; }
private ManageCollectionDialog manageCollectionDialog { get; set; }
private readonly BeatmapSetInfo beatmapSet;
@ -149,8 +149,8 @@ namespace osu.Game.Screens.Select.Carousel
items.Add(new OsuMenuItem("Delete", MenuItemType.Destructive, () => dialogOverlay.Push(new BeatmapDeleteDialog(beatmapSet))));
var collectionItems = collectionManager.Collections.OrderByDescending(c => c.LastModifyTime).Take(3).Select(createCollectionMenuItem).ToList();
if (collectionDialog != null)
collectionItems.Add(new OsuMenuItem("More...", MenuItemType.Standard, collectionDialog.Show));
if (manageCollectionDialog != null)
collectionItems.Add(new OsuMenuItem("More...", MenuItemType.Standard, manageCollectionDialog.Show));
items.Add(new OsuMenuItem("Add all to...") { Items = collectionItems });