mirror of https://github.com/ppy/osu
Fix expanded card content being clipped on beatmap listing overlay
This commit is contained in:
parent
d925e44b40
commit
33ab356dc5
|
@ -187,8 +187,10 @@ private static ReverseChildIDFillFlowContainer<BeatmapCard> createCardContainerF
|
|||
Alpha = 0,
|
||||
Margin = new MarginPadding
|
||||
{
|
||||
Vertical = 15,
|
||||
Bottom = ExpandedContentScrollContainer.HEIGHT
|
||||
Top = 15,
|
||||
// the + 20 adjustment is roughly eyeballed in order to fit all of the expanded content height after it's scaled
|
||||
// as well as provide visual balance to the top margin.
|
||||
Bottom = ExpandedContentScrollContainer.HEIGHT + 20
|
||||
},
|
||||
ChildrenEnumerable = newCards
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue