1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-25 01:39:55 +08:00

Migrate padding into the scroll content to not cut off effects

This commit is contained in:
Thomas Müller
2017-07-18 12:26:27 +03:00
Unverified
parent e58ea97604
commit fce5a191f1
2 changed files with 4 additions and 1 deletions
@@ -29,6 +29,9 @@ namespace osu.Game.Overlays.Chat
scroll = new OsuScrollContainer
{
RelativeSizeAxes = Axes.Both,
// Some chat lines have effects that slightly protrude to the bottom,
// which we do not want to mask away, hence the padding.
Padding = new MarginPadding { Bottom = 5 },
Children = new Drawable[]
{
flow = new FillFlowContainer<ChatLine>
+1 -1
View File
@@ -111,7 +111,7 @@ namespace osu.Game.Overlays
RelativeSizeAxes = Axes.Both,
Padding = new MarginPadding
{
Bottom = textbox_height + padding
Bottom = textbox_height
},
},
new Container