mirror of
https://github.com/ppy/osu.git
synced 2025-01-14 19:22:56 +08:00
Reduce allocation overhead in BeatmapCarousel
This commit is contained in:
parent
b588715d21
commit
cec4f670d1
@ -899,7 +899,7 @@ namespace osu.Game.Screens.Select
|
||||
|
||||
// Update externally controlled state of currently visible items (e.g. x-offset and opacity).
|
||||
// This is a per-frame update on all drawable panels.
|
||||
foreach (DrawableCarouselItem item in Scroll.Children)
|
||||
foreach (DrawableCarouselItem item in Scroll.ScrollContent)
|
||||
{
|
||||
updateItem(item);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user