Fix remaining issues

This commit is contained in:
Dean Herbert
2019-02-28 13:31:40 +09:00
parent 3e1f283281
commit 26d53d06a9
241 changed files with 673 additions and 330 deletions

View File

@ -12,6 +12,7 @@ namespace osu.Game.Screens.Edit.Components.RadioButtons
public class RadioButtonCollection : CompositeDrawable
{
private IReadOnlyList<RadioButton> items;
public IReadOnlyList<RadioButton> Items
{
get { return items; }
@ -19,6 +20,7 @@ namespace osu.Game.Screens.Edit.Components.RadioButtons
{
if (ReferenceEquals(items, value))
return;
items = value;
buttonContainer.Clear();
@ -42,6 +44,7 @@ namespace osu.Game.Screens.Edit.Components.RadioButtons
}
private RadioButton currentlySelected;
private void addButton(RadioButton button)
{
button.Selected.ValueChanged += selected =>