mirror of
https://github.com/osukey/osukey.git
synced 2025-08-03 06:36:31 +09:00
Move binding to LoadComplete
This commit is contained in:
@ -47,8 +47,11 @@ namespace osu.Game.Overlays.Profile.Header.Components
|
||||
Font = OsuFont.GetFont(size: 20)
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
LevelInfo.BindValueChanged(level => updateLevel(level.NewValue));
|
||||
protected override void LoadComplete()
|
||||
{
|
||||
LevelInfo.BindValueChanged(level => updateLevel(level.NewValue), true);
|
||||
}
|
||||
|
||||
private void updateLevel(UserStatistics.LevelInfo? levelInfo)
|
||||
|
Reference in New Issue
Block a user