mirror of
https://github.com/osukey/osukey.git
synced 2025-07-03 01:09:57 +09:00
Force nested screens to load synchronously
This commit is contained in:
@ -29,6 +29,13 @@ namespace osu.Game.Screens
|
||||
ScreenExited += ScreenChanged;
|
||||
}
|
||||
|
||||
public void PushSynchronously(OsuScreen screen)
|
||||
{
|
||||
LoadComponent(screen);
|
||||
|
||||
Push(screen);
|
||||
}
|
||||
|
||||
private void screenPushed(IScreen prev, IScreen next)
|
||||
{
|
||||
if (LoadState < LoadState.Ready)
|
||||
|
Reference in New Issue
Block a user