mirror of
https://github.com/osukey/osukey.git
synced 2025-06-05 12:57:39 +09: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()
|
private void bind()
|
||||||
{
|
{
|
||||||
circularProgress.Current.BindTo(Progress);
|
circularProgress.Current.BindTo(Progress);
|
||||||
|
|
||||||
Progress.ValueChanged += v => icon.Scale = new Vector2(1 + (float)v * 0.4f);
|
Progress.ValueChanged += v => icon.Scale = new Vector2(1 + (float)v * 0.4f);
|
||||||
|
Progress.TriggerChange();
|
||||||
}
|
}
|
||||||
|
|
||||||
private bool pendingAnimation;
|
private bool pendingAnimation;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user