1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-15 19:42:56 +08:00

Remove triggerPreviousRandom from SongSelect

This commit is contained in:
Jack Boswell (boswelja) 2020-06-04 21:08:07 +12:00
parent cab132673a
commit cb6e473910

View File

@ -275,7 +275,7 @@ namespace osu.Game.Screens.Select
Footer.AddButton(new FooterButtonRandom Footer.AddButton(new FooterButtonRandom
{ {
NextRandom = triggerNextRandom, NextRandom = triggerNextRandom,
PreviousRandom = triggerPreviousRandom PreviousRandom = Carousel.SelectPreviousRandom
}); });
Footer.AddButton(new FooterButtonOptions(), BeatmapOptions); Footer.AddButton(new FooterButtonOptions(), BeatmapOptions);
@ -505,11 +505,6 @@ namespace osu.Game.Screens.Select
Carousel.SelectNextRandom(); Carousel.SelectNextRandom();
} }
private void triggerPreviousRandom()
{
Carousel.SelectPreviousRandom();
}
public override void OnEntering(IScreen last) public override void OnEntering(IScreen last)
{ {
base.OnEntering(last); base.OnEntering(last);