1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-27 13:23:05 +08:00

Move BindValueChanged call to LoadComplete

This commit is contained in:
Dean Herbert 2021-05-03 20:11:24 +09:00
parent 625890381f
commit ca4b860920

View File

@ -97,7 +97,6 @@ namespace osu.Game.Screens.Play.HUD
}; };
Current.BindTo(scoreProcessor.Combo); Current.BindTo(scoreProcessor.Combo);
Current.BindValueChanged(combo => updateCount(combo.NewValue == 0), true);
} }
protected override void LoadComplete() protected override void LoadComplete()
@ -111,7 +110,7 @@ namespace osu.Game.Screens.Play.HUD
popOutCount.Origin = Origin; popOutCount.Origin = Origin;
popOutCount.Anchor = Anchor; popOutCount.Anchor = Anchor;
updateCount(false); Current.BindValueChanged(combo => updateCount(combo.NewValue == 0), true);
} }
private void updateCount(bool rolling) private void updateCount(bool rolling)