1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-31 00:20:41 +08:00

Fix carousel tests failing due to dependency on depth ordering

This commit is contained in:
Dean Herbert
2025-02-04 17:50:14 +09:00
Unverified
parent 2f2dc158e0
commit ccdb6e4c48
@@ -178,7 +178,7 @@ namespace osu.Game.Tests.Visual.SongSelect
Carousel.ChildrenOfType<UserTrackingScrollContainer>().Single()
.ChildrenOfType<T>()
.Where(p => ((ICarouselPanel)p).Item?.IsVisible == true)
.Reverse()
.OrderBy(p => p.Y)
.ElementAt(index)
.TriggerClick();
});