Dispose ScrollingTeams on removal

This commit is contained in:
Salman Ahmed 2022-09-03 15:17:46 +03:00
parent 778d767a12
commit b43995269a

View File

@ -170,7 +170,7 @@ namespace osu.Game.Tournament.Screens.Drawings.Components
availableTeams.Add(team);
RemoveAll(c => c is ScrollingTeam, false);
RemoveAll(c => c is ScrollingTeam, true);
setScrollState(ScrollState.Idle);
}