mirror of
https://github.com/ppy/osu.git
synced 2024-11-06 06:57:39 +08:00
Migrate padding into the scroll content to not cut off effects
This commit is contained in:
parent
e58ea97604
commit
fce5a191f1
@ -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>
|
||||
|
@ -111,7 +111,7 @@ namespace osu.Game.Overlays
|
||||
RelativeSizeAxes = Axes.Both,
|
||||
Padding = new MarginPadding
|
||||
{
|
||||
Bottom = textbox_height + padding
|
||||
Bottom = textbox_height
|
||||
},
|
||||
},
|
||||
new Container
|
||||
|
Loading…
Reference in New Issue
Block a user