mirror of
https://github.com/ppy/osu
synced 2025-02-03 11:51:54 +00:00
Use child set, not Clear/Add
This commit is contained in:
parent
5f9b9631ef
commit
cd473f207a
@ -200,8 +200,7 @@ namespace osu.Game.Overlays
|
|||||||
{
|
{
|
||||||
LoadComponentAsync(table, t =>
|
LoadComponentAsync(table, t =>
|
||||||
{
|
{
|
||||||
contentPlaceholder.Clear();
|
contentPlaceholder.Child = t;
|
||||||
contentPlaceholder.Add(t);
|
|
||||||
loading.Hide();
|
loading.Hide();
|
||||||
}, (cancellationToken = new CancellationTokenSource()).Token);
|
}, (cancellationToken = new CancellationTokenSource()).Token);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user