mirror of
https://github.com/osukey/osukey.git
synced 2025-07-03 01:09:57 +09:00
Update screen transition events to use new event args
This commit is contained in:
@ -80,10 +80,10 @@ namespace osu.Game.Tests.Visual
|
||||
|
||||
public override bool OnBackButton() => (screenStack.CurrentScreen as OsuScreen)?.OnBackButton() ?? base.OnBackButton();
|
||||
|
||||
public override bool OnExiting(IScreen next)
|
||||
public override bool OnExiting(ScreenExitEvent e)
|
||||
{
|
||||
if (screenStack.CurrentScreen == null)
|
||||
return base.OnExiting(next);
|
||||
return base.OnExiting(e);
|
||||
|
||||
screenStack.Exit();
|
||||
return true;
|
||||
|
Reference in New Issue
Block a user