mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 16:27:26 +08:00
Comments
This commit is contained in:
parent
59365bbdce
commit
5f538f03ea
@ -203,11 +203,13 @@ namespace osu.Game.Screens.Play
|
||||
if (_selectionIndex == value)
|
||||
return;
|
||||
|
||||
// Deselect the previously-selected button
|
||||
if (_selectionIndex != -1)
|
||||
Buttons[_selectionIndex].Selected.Value = false;
|
||||
|
||||
_selectionIndex = value;
|
||||
|
||||
// Select the newly-selected button
|
||||
if (_selectionIndex != -1)
|
||||
Buttons[_selectionIndex].Selected.Value = true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user