mirror of
https://github.com/ppy/osu.git
synced 2025-02-15 23:42:55 +08:00
Fix incorrectly binding inside BDL load()
This commit is contained in:
parent
ada2ae2b2c
commit
8e651962c7
@ -63,7 +63,13 @@ namespace osu.Game.Screens.Select.Details
|
|||||||
private void load(OsuColour colours)
|
private void load(OsuColour colours)
|
||||||
{
|
{
|
||||||
starDifficulty.AccentColour = colours.Yellow;
|
starDifficulty.AccentColour = colours.Yellow;
|
||||||
mods.ValueChanged += _ => updateStatistics();
|
}
|
||||||
|
|
||||||
|
protected override void LoadComplete()
|
||||||
|
{
|
||||||
|
base.LoadComplete();
|
||||||
|
|
||||||
|
mods.BindValueChanged(_ => updateStatistics(), true);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void updateStatistics()
|
private void updateStatistics()
|
||||||
|
Loading…
Reference in New Issue
Block a user