mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 00:40:09 +09:00
Merge branch 'master' into first-run-setup
This commit is contained in:
@ -176,12 +176,12 @@ namespace osu.Game.Screens.Menu
|
||||
[Resolved]
|
||||
private Storage storage { get; set; }
|
||||
|
||||
public override void OnEntering(IScreen last)
|
||||
public override void OnEntering(ScreenTransitionEvent e)
|
||||
{
|
||||
base.OnEntering(last);
|
||||
base.OnEntering(e);
|
||||
Buttons.FadeInFromZero(500);
|
||||
|
||||
if (last is IntroScreen && musicController.TrackLoaded)
|
||||
if (e.Last is IntroScreen && musicController.TrackLoaded)
|
||||
{
|
||||
var track = musicController.CurrentTrack;
|
||||
|
||||
@ -249,9 +249,9 @@ namespace osu.Game.Screens.Menu
|
||||
seq.OnAbort(_ => Buttons.SetOsuLogo(null));
|
||||
}
|
||||
|
||||
public override void OnSuspending(IScreen next)
|
||||
public override void OnSuspending(ScreenTransitionEvent e)
|
||||
{
|
||||
base.OnSuspending(next);
|
||||
base.OnSuspending(e);
|
||||
|
||||
Buttons.State = ButtonSystemState.EnteringMode;
|
||||
|
||||
@ -261,9 +261,9 @@ namespace osu.Game.Screens.Menu
|
||||
sideFlashes.FadeOut(64, Easing.OutQuint);
|
||||
}
|
||||
|
||||
public override void OnResuming(IScreen last)
|
||||
public override void OnResuming(ScreenTransitionEvent e)
|
||||
{
|
||||
base.OnResuming(last);
|
||||
base.OnResuming(e);
|
||||
|
||||
ApplyToBackground(b => (b as BackgroundScreenDefault)?.Next());
|
||||
|
||||
@ -273,7 +273,7 @@ namespace osu.Game.Screens.Menu
|
||||
musicController.EnsurePlayingSomething();
|
||||
}
|
||||
|
||||
public override bool OnExiting(IScreen next)
|
||||
public override bool OnExiting(ScreenExitEvent e)
|
||||
{
|
||||
if (!exitConfirmed && dialogOverlay != null)
|
||||
{
|
||||
@ -291,7 +291,7 @@ namespace osu.Game.Screens.Menu
|
||||
songTicker.Hide();
|
||||
|
||||
this.FadeOut(3000);
|
||||
return base.OnExiting(next);
|
||||
return base.OnExiting(e);
|
||||
}
|
||||
|
||||
public void PresentBeatmap(WorkingBeatmap beatmap, RulesetInfo ruleset)
|
||||
|
Reference in New Issue
Block a user