Use child set, not Clear/Add

This commit is contained in:
Dean Herbert 2019-12-05 14:09:33 +09:00
parent 5f9b9631ef
commit cd473f207a

View File

@ -200,8 +200,7 @@ namespace osu.Game.Overlays
{
LoadComponentAsync(table, t =>
{
contentPlaceholder.Clear();
contentPlaceholder.Add(t);
contentPlaceholder.Child = t;
loading.Hide();
}, (cancellationToken = new CancellationTokenSource()).Token);
}