1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-27 06:29:54 +08:00

Message padding improvements

This commit is contained in:
Andrei Zavatski
2019-10-09 10:34:17 +03:00
Unverified
parent faef4d932d
commit 4462d454e8
@@ -16,6 +16,7 @@ namespace osu.Game.Overlays.Comments
public class CommentsContainer : CompositeDrawable
{
private const float separator_height = 1.5f;
private const int padding = 40;
private readonly CommentableType type;
private readonly long id;
@@ -92,7 +93,13 @@ namespace osu.Game.Overlays.Comments
if (!c.IsDeleted && c.IsTopLevel)
content.AddRange(new Drawable[]
{
new DrawableComment(c),
new Container
{
RelativeSizeAxes = Axes.X,
AutoSizeAxes = Axes.Y,
Padding = new MarginPadding { Right = padding },
Child = new DrawableComment(c)
},
new Container
{
RelativeSizeAxes = Axes.X,