mirror of
https://github.com/ppy/osu
synced 2024-12-13 18:37:04 +00:00
Fix icon scale not resetting due to no implicit triggering
This commit is contained in:
parent
2ce2bd9788
commit
ef55c3c197
@ -133,7 +133,9 @@ namespace osu.Game.Screens.Play.HUD
|
||||
private void bind()
|
||||
{
|
||||
circularProgress.Current.BindTo(Progress);
|
||||
|
||||
Progress.ValueChanged += v => icon.Scale = new Vector2(1 + (float)v * 0.4f);
|
||||
Progress.TriggerChange();
|
||||
}
|
||||
|
||||
private bool pendingAnimation;
|
||||
|
Loading…
Reference in New Issue
Block a user