mirror of
https://github.com/ppy/osu.git
synced 2026-05-24 23:42:01 +08:00
Dispose container before replacing
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user