mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 15:07:44 +08:00
Dispose container before replacing
This commit is contained in:
parent
042574660c
commit
36bfef4f54
@ -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.
|
||||
container.Dispose();
|
||||
container = new FillFlowContainer
|
||||
{
|
||||
RelativeSizeAxes = Axes.Both,
|
||||
|
Loading…
Reference in New Issue
Block a user