mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 14:25:05 +08:00
Add a delay before the osu! logo appears when exiting multiplayer
This commit is contained in:
parent
3c3412791c
commit
0ca6d73f0e
@ -8,6 +8,7 @@ using osu.Framework.Screens;
|
||||
using osu.Game.Graphics;
|
||||
using osu.Game.Graphics.Backgrounds;
|
||||
using osu.Game.Graphics.Containers;
|
||||
using osu.Game.Screens.Menu;
|
||||
using osu.Game.Screens.Multi.Screens.Lounge;
|
||||
|
||||
namespace osu.Game.Screens.Multi
|
||||
@ -84,6 +85,13 @@ namespace osu.Game.Screens.Multi
|
||||
waves.Hide();
|
||||
}
|
||||
|
||||
protected override void LogoExiting(OsuLogo logo)
|
||||
{
|
||||
// the wave overlay transition takes longer than expected to run.
|
||||
logo.Delay(WaveContainer.DISAPPEAR_DURATION / 2).FadeOut();
|
||||
base.LogoExiting(logo);
|
||||
}
|
||||
|
||||
private class MultiplayerWaveContainer : WaveContainer
|
||||
{
|
||||
protected override bool StartHidden => true;
|
||||
|
Loading…
Reference in New Issue
Block a user