Update variable names

Also cleans up some weird code
This commit is contained in:
Dean Herbert
2019-02-22 17:51:39 +09:00
parent 2c9e6adfd4
commit 3fe4b8fd1c
69 changed files with 166 additions and 165 deletions

View File

@ -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;