mirror of https://github.com/ppy/osu
Fix icon scale not resetting due to no implicit triggering
This commit is contained in:
parent
2ce2bd9788
commit
ef55c3c197
|
@ -133,7 +133,9 @@ private void load(OsuColour colours)
|
|||
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