1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-24 01:04:49 +08:00

Fix incorrect syntax

This commit is contained in:
Dean Herbert
2018-05-22 00:01:40 +09:00
Unverified
parent 841336a181
commit 3d9d40448d
+2 -2
View File
@@ -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);
}