mirror of
https://github.com/ppy/osu.git
synced 2025-02-12 18:13:16 +08:00
Fix carousel tests failing due to dependency on depth ordering
This commit is contained in:
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();
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user