mirror of
https://github.com/osukey/osukey.git
synced 2025-05-23 14:37:39 +09:00
Remove unnecessary private method /shrug
This commit is contained in:
parent
7ad498cb29
commit
a8bacd1ed4
@ -76,7 +76,7 @@ namespace osu.Game.Screens
|
|||||||
protected override void OnResuming(Screen last)
|
protected override void OnResuming(Screen last)
|
||||||
{
|
{
|
||||||
base.OnResuming(last);
|
base.OnResuming(last);
|
||||||
logo.DelayUntilTransformsFinished().Schedule(() => logoSetup(true));
|
logo.DelayUntilTransformsFinished().Schedule(() => LogoSetup(logo, true));
|
||||||
sampleExit?.Play();
|
sampleExit?.Play();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -122,7 +122,7 @@ namespace osu.Game.Screens
|
|||||||
|
|
||||||
base.OnEntering(last);
|
base.OnEntering(last);
|
||||||
|
|
||||||
logo.DelayUntilTransformsFinished().Schedule(() => logoSetup(false));
|
logo.DelayUntilTransformsFinished().Schedule(() => LogoSetup(logo, false));
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override bool OnExiting(Screen next)
|
protected override bool OnExiting(Screen next)
|
||||||
@ -148,8 +148,6 @@ namespace osu.Game.Screens
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
private void logoSetup(bool resuming) => LogoSetup(logo, resuming);
|
|
||||||
|
|
||||||
protected virtual void LogoSetup(OsuLogo logo, bool resuming)
|
protected virtual void LogoSetup(OsuLogo logo, bool resuming)
|
||||||
{
|
{
|
||||||
logo.Action = null;
|
logo.Action = null;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user