mirror of
https://github.com/ppy/osu
synced 2025-02-09 14:47:33 +00:00
Code formatting and slight changes to transitions.
This commit is contained in:
parent
9594b7193c
commit
926c46dbd4
@ -63,7 +63,7 @@ namespace osu.Game.GameModes.Menu
|
||||
|
||||
logo.ScaleTo(0);
|
||||
|
||||
logo.ScaleTo(1,5900, EasingTypes.OutQuint);
|
||||
logo.ScaleTo(1, 5900, EasingTypes.OutQuint);
|
||||
logo.FadeIn(30000, EasingTypes.OutQuint);
|
||||
}
|
||||
|
||||
@ -82,7 +82,7 @@ namespace osu.Game.GameModes.Menu
|
||||
protected override void OnResuming(GameMode last)
|
||||
{
|
||||
//we are just an intro. if we are resumed, we just want to exit after a short delay (to allow the last mode to transition out).
|
||||
Game.Scheduler.AddDelayed(Exit, 300);
|
||||
Game.Scheduler.AddDelayed(Exit, 600);
|
||||
|
||||
base.OnResuming(last);
|
||||
}
|
||||
|
@ -1,8 +1,6 @@
|
||||
//Copyright (c) 2007-2016 ppy Pty Ltd <contact@ppy.sh>.
|
||||
//Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
||||
|
||||
using osu.Framework.Audio.Sample;
|
||||
using osu.Framework.Audio.Track;
|
||||
using osu.Framework.GameModes;
|
||||
using osu.Framework.GameModes.Testing;
|
||||
using osu.Framework.Graphics;
|
||||
|
@ -41,11 +41,11 @@ namespace osu.Game.Overlays
|
||||
{
|
||||
case ToolbarState.Hidden:
|
||||
MoveToY(-Size.Y, transition_time, EasingTypes.InQuint);
|
||||
FadeOut(transition_time);
|
||||
FadeOut(transition_time, EasingTypes.InQuint);
|
||||
break;
|
||||
case ToolbarState.Visible:
|
||||
MoveToY(0, transition_time, EasingTypes.OutQuint);
|
||||
FadeIn(transition_time);
|
||||
FadeIn(transition_time, EasingTypes.OutQuint);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user