mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 16:29:58 +09:00
Update with framework bindable changes
This commit is contained in:
@ -76,8 +76,8 @@ namespace osu.Game.Overlays.Settings.Sections
|
||||
if (skinDropdown.Items.All(s => s.ID != configBindable.Value))
|
||||
configBindable.Value = 0;
|
||||
|
||||
configBindable.BindValueChanged(v => dropdownBindable.Value = skinDropdown.Items.Single(s => s.ID == v), true);
|
||||
dropdownBindable.BindValueChanged(v => configBindable.Value = v.ID);
|
||||
configBindable.BindValueChanged(e => dropdownBindable.Value = skinDropdown.Items.Single(s => s.ID == e.NewValue), true);
|
||||
dropdownBindable.BindValueChanged(e => configBindable.Value = e.NewValue.ID);
|
||||
}
|
||||
|
||||
private void itemRemoved(SkinInfo s) => Schedule(() => skinDropdown.Items = skinDropdown.Items.Where(i => i.ID != s.ID).ToArray());
|
||||
|
Reference in New Issue
Block a user