mirror of
https://github.com/ppy/osu.git
synced 2024-11-06 09:07:25 +08:00
Move BindValueChanged
call to LoadComplete
This commit is contained in:
parent
625890381f
commit
ca4b860920
@ -97,7 +97,6 @@ namespace osu.Game.Screens.Play.HUD
|
||||
};
|
||||
|
||||
Current.BindTo(scoreProcessor.Combo);
|
||||
Current.BindValueChanged(combo => updateCount(combo.NewValue == 0), true);
|
||||
}
|
||||
|
||||
protected override void LoadComplete()
|
||||
@ -111,7 +110,7 @@ namespace osu.Game.Screens.Play.HUD
|
||||
popOutCount.Origin = Origin;
|
||||
popOutCount.Anchor = Anchor;
|
||||
|
||||
updateCount(false);
|
||||
Current.BindValueChanged(combo => updateCount(combo.NewValue == 0), true);
|
||||
}
|
||||
|
||||
private void updateCount(bool rolling)
|
||||
|
Loading…
Reference in New Issue
Block a user