1
0
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:
Salman Ahmed 2022-07-14 06:05:03 +03:00
parent b511c9cc3f
commit f83d413b33

View File

@ -65,7 +65,7 @@ namespace osu.Game.Overlays
dialogContainer.Add(dialog);
Show();
}, false);
}, !IsLoaded);
}
public override bool IsPresent => Scheduler.HasPendingTasks || dialogContainer.Children.Count > 0;