Improve performance with large numbers of panels visible

This commit is contained in:
Dean Herbert
2017-12-17 04:30:56 +09:00
parent c02ce16f47
commit 5d7413f19c
3 changed files with 16 additions and 3 deletions

View File

@ -33,7 +33,8 @@ namespace osu.Game.Screens.Select.Carousel
if (InternalChildren != null)
foreach (var c in InternalChildren)
items.AddRange(c.Drawables);
// if (!c.Filtered) <- potential optimisation at the cost of no fade out animations.
items.AddRange(c.Drawables);
return items;
}