mirror of
https://github.com/ppy/osu.git
synced 2025-01-14 00:42:55 +08:00
ensure logo is where it already needs to be on resume
This commit is contained in:
parent
bfe44eb33d
commit
039e451ab1
@ -152,8 +152,12 @@ namespace osu.Game.Screens.Play
|
|||||||
|
|
||||||
const double duration = 300;
|
const double duration = 300;
|
||||||
|
|
||||||
|
if (!resuming)
|
||||||
|
{
|
||||||
|
logo.MoveTo(new Vector2(0.5f), duration, Easing.In);
|
||||||
|
}
|
||||||
|
|
||||||
logo.ScaleTo(new Vector2(0.15f), duration, Easing.In);
|
logo.ScaleTo(new Vector2(0.15f), duration, Easing.In);
|
||||||
logo.MoveTo(new Vector2(0.5f), duration, Easing.In);
|
|
||||||
logo.FadeIn(350);
|
logo.FadeIn(350);
|
||||||
|
|
||||||
content.SetLogo(logo, 1.0f, 500, Easing.InOutExpo);
|
content.SetLogo(logo, 1.0f, 500, Easing.InOutExpo);
|
||||||
|
Loading…
Reference in New Issue
Block a user