mirror of
https://github.com/osukey/osukey.git
synced 2025-05-30 09:57:21 +09: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();
|
base.LoadComplete();
|
||||||
|
|
||||||
selectedMods.BindValueChanged(val => Enabled.Value = val.NewValue.Any(), true);
|
selectedMods.BindValueChanged(mods => Enabled.Value = mods.NewValue.Any(), true);
|
||||||
Enabled.BindValueChanged(val =>
|
Enabled.BindValueChanged(enabled =>
|
||||||
{
|
{
|
||||||
if (!val.NewValue)
|
if (!enabled.NewValue)
|
||||||
Active.Value = false;
|
Active.Value = false;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user