General cleanup

This commit is contained in:
smoogipoo
2021-02-01 18:50:32 +09:00
parent 3a906a89fc
commit 89a42d60fb
16 changed files with 71 additions and 72 deletions

View File

@ -21,7 +21,7 @@ namespace osu.Game.Screens.Select
CreateNewItem = createNewItem
};
protected override void OnSetItem(PlaylistItem item)
protected override void SelectItem(PlaylistItem item)
{
switch (Playlist.Count)
{

View File

@ -300,6 +300,10 @@ namespace osu.Game.Screens.Select
}
}
/// <summary>
/// Creates the buttons to be displayed in the footer.
/// </summary>
/// <returns>A set of <see cref="FooterButton"/> and an optional <see cref="OverlayContainer"/> which the button opens when pressed.</returns>
protected virtual IEnumerable<(FooterButton, OverlayContainer)> CreateFooterButtons() => new (FooterButton, OverlayContainer)[]
{
(new FooterButtonMods { Current = Mods }, ModSelect),