1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-15 09:02:55 +08:00

Rename forgotten variable

This commit is contained in:
Andrei Zavatski 2019-11-21 20:37:02 +03:00
parent 0f1a3d97c8
commit eb2f7c1d0a

View File

@ -112,7 +112,7 @@ namespace osu.Game.Rulesets.UI
protected override void LoadComplete()
{
base.LoadComplete();
Selected.BindValueChanged(highlighted => background.Colour = highlighted.NewValue ? highlightedColour : backgroundColour, true);
Selected.BindValueChanged(selected => background.Colour = selected.NewValue ? highlightedColour : backgroundColour, true);
}
}
}