1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-13 12:02:54 +08:00

Fix initial state being wrong due to BindValueChanged call in BDL load

This commit is contained in:
Dean Herbert 2022-10-12 15:25:16 +09:00
parent ea3d08d5a0
commit f3e85d2302

View File

@ -29,9 +29,13 @@ namespace osu.Game.Rulesets.Catch.UI
{
}
[BackgroundDependencyLoader(true)]
private void load(Player? player)
[Resolved(canBeNull: true)]
private Player? player { get; set; }
protected override void LoadComplete()
{
base.LoadComplete();
if (player != null)
{
showCombo.BindTo(player.ShowingOverlayComponents);