Better encapsulate exposed bindables of HoldToConfirmContainer

This commit is contained in:
Dean Herbert
2022-05-06 14:37:50 +09:00
parent be960eb092
commit a11771c11b
2 changed files with 22 additions and 20 deletions

View File

@ -164,7 +164,7 @@ namespace osu.Game.Screens.Play.HUD
private void bind()
{
circularProgress.Current.BindTo(Progress);
((IBindable<double>)circularProgress.Current).BindTo(Progress);
Progress.ValueChanged += progress => icon.Scale = new Vector2(1 + (float)progress.NewValue * 0.2f);
}