mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 08:49:59 +09:00
Update variable names
Also cleans up some weird code
This commit is contained in:
@ -44,9 +44,9 @@ namespace osu.Game.Screens.Edit.Components.RadioButtons
|
||||
private RadioButton currentlySelected;
|
||||
private void addButton(RadioButton button)
|
||||
{
|
||||
button.Selected.ValueChanged += e =>
|
||||
button.Selected.ValueChanged += selected =>
|
||||
{
|
||||
if (e.NewValue)
|
||||
if (selected.NewValue)
|
||||
{
|
||||
currentlySelected?.Deselect();
|
||||
currentlySelected = button;
|
||||
|
Reference in New Issue
Block a user