mirror of
https://github.com/ppy/osu.git
synced 2026-05-25 03:09:54 +08:00
Reduce allocation overhead in BeatmapCarousel
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user