mirror of
https://github.com/ppy/osu.git
synced 2026-05-30 20:50:48 +08:00
Fix carousel tests failing due to dependency on depth ordering
This commit is contained in:
@@ -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();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user