1
0
mirror of https://github.com/ppy/osu.git synced 2025-03-28 09:37:23 +08:00

Fix expanded card content being clipped on beatmap listing overlay

This commit is contained in:
Bartłomiej Dach 2022-01-19 22:10:05 +01:00
parent d925e44b40
commit 33ab356dc5
No known key found for this signature in database
GPG Key ID: BCECCD4FA41F6497

View File

@ -187,8 +187,10 @@ namespace osu.Game.Overlays
Alpha = 0, Alpha = 0,
Margin = new MarginPadding Margin = new MarginPadding
{ {
Vertical = 15, Top = 15,
Bottom = ExpandedContentScrollContainer.HEIGHT // 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 ChildrenEnumerable = newCards
}; };