mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 03:22:55 +08:00
Fix incorrect syntax
This commit is contained in:
parent
841336a181
commit
3d9d40448d
@ -86,7 +86,7 @@ namespace osu.Game.Screens.Play.HUD
|
||||
{
|
||||
icon.ScaleTo(1.5f);
|
||||
text.FadeIn(fade_duration);
|
||||
progress.FillTo(progress.Current, 1, progress_duration).OnComplete(cp => ExitAction());
|
||||
progress.FillTo(1, progress_duration).OnComplete(cp => ExitAction());
|
||||
|
||||
return base.OnMouseDown(state, args);
|
||||
}
|
||||
@ -95,7 +95,7 @@ namespace osu.Game.Screens.Play.HUD
|
||||
{
|
||||
icon.ScaleTo(1f);
|
||||
Scheduler.AddDelayed(() => text.FadeOut(fade_duration), text_display_time);
|
||||
progress.FillTo(progress.Current, 0, progress_duration / 4).OnComplete(cp => progress.Current.SetDefault());
|
||||
progress.FillTo(0, progress_duration / 4f).OnComplete(cp => progress.Current.SetDefault());
|
||||
|
||||
return base.OnMouseUp(state, args);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user