mirror of
https://github.com/ppy/osu.git
synced 2025-03-19 07:07:18 +08:00
Rename locals for legibility
This commit is contained in:
parent
82d3fbd51b
commit
159d3b032c
@ -42,10 +42,10 @@ namespace osu.Game.Overlays.Mods
|
||||
{
|
||||
base.LoadComplete();
|
||||
|
||||
selectedMods.BindValueChanged(val => Enabled.Value = val.NewValue.Any(), true);
|
||||
Enabled.BindValueChanged(val =>
|
||||
selectedMods.BindValueChanged(mods => Enabled.Value = mods.NewValue.Any(), true);
|
||||
Enabled.BindValueChanged(enabled =>
|
||||
{
|
||||
if (!val.NewValue)
|
||||
if (!enabled.NewValue)
|
||||
Active.Value = false;
|
||||
});
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user