Fix another rider inspection (why do these keep coming up at random)

This commit is contained in:
Dean Herbert 2024-01-04 19:26:28 +09:00
parent 8e6f6521a9
commit 085f5acd1a
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -368,7 +368,7 @@ public void TestExpandedCardContentNotClipped()
{
var cardContainer = this.ChildrenOfType<ReverseChildIDFillFlowContainer<BeatmapCard>>().Single().Parent;
var expandedContent = this.ChildrenOfType<ExpandedContentScrollContainer>().Single();
return expandedContent.ScreenSpaceDrawQuad.GetVertices().ToArray().All(v => cardContainer.ScreenSpaceDrawQuad.Contains(v));
return expandedContent.ScreenSpaceDrawQuad.GetVertices().ToArray().All(v => cardContainer!.ScreenSpaceDrawQuad.Contains(v));
});
}