mirror of
https://github.com/ppy/osu.git
synced 2025-01-28 08:02:55 +08:00
Fix dialog overlay potentially pushing dialog while not loaded
This commit is contained in:
parent
b511c9cc3f
commit
f83d413b33
@ -65,7 +65,7 @@ namespace osu.Game.Overlays
|
||||
dialogContainer.Add(dialog);
|
||||
|
||||
Show();
|
||||
}, false);
|
||||
}, !IsLoaded);
|
||||
}
|
||||
|
||||
public override bool IsPresent => Scheduler.HasPendingTasks || dialogContainer.Children.Count > 0;
|
||||
|
Loading…
Reference in New Issue
Block a user