mirror of
https://github.com/ppy/osu.git
synced 2025-03-23 18:10:01 +08:00
Fix BeatmapCarousel
accessing ScreenSpaceDrawQuad
of non-loaded children
Fixes failure seen at https://ci.appveyor.com/project/peppy/osu/builds/39302762/tests.
This commit is contained in:
parent
774611f142
commit
b3b39c4c13
@ -36,7 +36,7 @@ namespace osu.Game.Screens.Select.Carousel
|
||||
[Resolved(CanBeNull = true)]
|
||||
private ManageCollectionsDialog manageCollectionsDialog { get; set; }
|
||||
|
||||
public IEnumerable<DrawableCarouselItem> DrawableBeatmaps => beatmapContainer?.Children ?? Enumerable.Empty<DrawableCarouselItem>();
|
||||
public IEnumerable<DrawableCarouselItem> DrawableBeatmaps => beatmapContainer?.AliveChildren ?? Enumerable.Empty<DrawableCarouselItem>();
|
||||
|
||||
[CanBeNull]
|
||||
private Container<DrawableCarouselItem> beatmapContainer;
|
||||
|
Loading…
x
Reference in New Issue
Block a user