1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-13 16:02:58 +08:00

Make constant private

This commit is contained in:
Dean Herbert 2019-10-08 11:54:39 +09:00
parent 3c0b1be7f4
commit c3d56088d8

View File

@ -34,7 +34,7 @@ namespace osu.Game.Screens.Menu
private readonly BindableDouble exitingVolumeFade = new BindableDouble(1); private readonly BindableDouble exitingVolumeFade = new BindableDouble(1);
public const int EXIT_DELAY = 3000; private const int exit_delay = 3000;
[Resolved] [Resolved]
private AudioManager audio { get; set; } private AudioManager audio { get; set; }
@ -110,7 +110,7 @@ namespace osu.Game.Screens.Menu
{ {
this.FadeIn(300); this.FadeIn(300);
double fadeOutTime = EXIT_DELAY; double fadeOutTime = exit_delay;
//we also handle the exit transition. //we also handle the exit transition.
if (MenuVoice.Value) if (MenuVoice.Value)
seeya.Play(); seeya.Play();
@ -151,8 +151,8 @@ namespace osu.Game.Screens.Menu
.ScaleTo(1, initialMovementTime, Easing.OutQuint) .ScaleTo(1, initialMovementTime, Easing.OutQuint)
.FadeIn(quick_appear, Easing.OutQuint) .FadeIn(quick_appear, Easing.OutQuint)
.Then() .Then()
.RotateTo(20, EXIT_DELAY * 1.5f) .RotateTo(20, exit_delay * 1.5f)
.FadeOut(EXIT_DELAY); .FadeOut(exit_delay);
} }
} }