mirror of
https://github.com/ppy/osu.git
synced 2025-03-04 06:12:57 +08:00
Improve code readability of FooterButtonRandom OnPressed
This commit is contained in:
parent
49ac16873b
commit
9dc1eab6ae
@ -39,7 +39,7 @@ namespace osu.Game.Screens.Select
|
|||||||
{
|
{
|
||||||
rewindSearch = action == GlobalAction.SelectPreviousRandom;
|
rewindSearch = action == GlobalAction.SelectPreviousRandom;
|
||||||
|
|
||||||
if (action != GlobalAction.SelectNextRandom && !rewindSearch)
|
if (action != GlobalAction.SelectNextRandom && action != GlobalAction.SelectPreviousRandom)
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user