Use container itself rather than ScrollContent

This commit is contained in:
Dean Herbert 2024-01-22 15:54:24 +09:00
parent cec4f670d1
commit 74f05a5c4b
No known key found for this signature in database

View File

@ -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.ScrollContent)
foreach (DrawableCarouselItem item in Scroll)
{
updateItem(item);