Also dispose rows

This commit is contained in:
Henry Lin 2022-02-02 19:00:46 +08:00
parent 36bfef4f54
commit b0023b9809

View File

@ -143,6 +143,7 @@ namespace osu.Game.Screens.Ranking.Statistics
if (panelIsEmpty)
{
// Replace the scroll container with fill flow container to get the message centered.
rows.Dispose();
container.Dispose();
container = new FillFlowContainer
{