1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-22 01:27:29 +08:00

Remove unnecessary private method /shrug

This commit is contained in:
Dean Herbert 2017-11-08 14:46:47 +09:00
parent 7ad498cb29
commit a8bacd1ed4

View File

@ -76,7 +76,7 @@ namespace osu.Game.Screens
protected override void OnResuming(Screen last)
{
base.OnResuming(last);
logo.DelayUntilTransformsFinished().Schedule(() => logoSetup(true));
logo.DelayUntilTransformsFinished().Schedule(() => LogoSetup(logo, true));
sampleExit?.Play();
}
@ -122,7 +122,7 @@ namespace osu.Game.Screens
base.OnEntering(last);
logo.DelayUntilTransformsFinished().Schedule(() => logoSetup(false));
logo.DelayUntilTransformsFinished().Schedule(() => LogoSetup(logo, false));
}
protected override bool OnExiting(Screen next)
@ -148,8 +148,6 @@ namespace osu.Game.Screens
return false;
}
private void logoSetup(bool resuming) => LogoSetup(logo, resuming);
protected virtual void LogoSetup(OsuLogo logo, bool resuming)
{
logo.Action = null;