Fix icon scale not resetting due to no implicit triggering

This commit is contained in:
Dean Herbert 2018-05-22 15:58:17 +09:00
parent 2ce2bd9788
commit ef55c3c197
1 changed files with 2 additions and 0 deletions

View File

@ -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;