mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 16:59:53 +09:00
Improve code readability of FooterButtonRandom OnPressed
This commit is contained in:
@ -39,7 +39,7 @@ namespace osu.Game.Screens.Select
|
||||
{
|
||||
rewindSearch = action == GlobalAction.SelectPreviousRandom;
|
||||
|
||||
if (action != GlobalAction.SelectNextRandom && !rewindSearch)
|
||||
if (action != GlobalAction.SelectNextRandom && action != GlobalAction.SelectPreviousRandom)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
Reference in New Issue
Block a user