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:
parent
d925e44b40
commit
33ab356dc5
@ -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
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user