mirror of https://github.com/ppy/osu
Fix another rider inspection (why do these keep coming up at random)
This commit is contained in:
parent
8e6f6521a9
commit
085f5acd1a
|
@ -368,7 +368,7 @@ public void TestExpandedCardContentNotClipped()
|
||||||
{
|
{
|
||||||
var cardContainer = this.ChildrenOfType<ReverseChildIDFillFlowContainer<BeatmapCard>>().Single().Parent;
|
var cardContainer = this.ChildrenOfType<ReverseChildIDFillFlowContainer<BeatmapCard>>().Single().Parent;
|
||||||
var expandedContent = this.ChildrenOfType<ExpandedContentScrollContainer>().Single();
|
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));
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue