mirror of
https://github.com/ppy/osu
synced 2025-03-25 04:18:03 +00:00
Use container itself rather than ScrollContent
This commit is contained in:
parent
cec4f670d1
commit
74f05a5c4b
@ -899,7 +899,7 @@ namespace osu.Game.Screens.Select
|
|||||||
|
|
||||||
// Update externally controlled state of currently visible items (e.g. x-offset and opacity).
|
// Update externally controlled state of currently visible items (e.g. x-offset and opacity).
|
||||||
// This is a per-frame update on all drawable panels.
|
// This is a per-frame update on all drawable panels.
|
||||||
foreach (DrawableCarouselItem item in Scroll.ScrollContent)
|
foreach (DrawableCarouselItem item in Scroll)
|
||||||
{
|
{
|
||||||
updateItem(item);
|
updateItem(item);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user