1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-30 02:22:55 +08:00

Fix padding around recent participants icon being uneven

This commit is contained in:
Dean Herbert 2021-08-12 16:50:09 +09:00
parent 5f3ceaf0ad
commit ab1cc6ad48

View File

@ -54,7 +54,7 @@ namespace osu.Game.Screens.OnlinePlay.Lounge.Components
AutoSizeAxes = Axes.Both, AutoSizeAxes = Axes.Both,
Direction = FillDirection.Horizontal, Direction = FillDirection.Horizontal,
Spacing = new Vector2(4), Spacing = new Vector2(4),
Padding = new MarginPadding { Left = 8, Right = 16 }, Padding = new MarginPadding { Right = 16 },
Children = new Drawable[] Children = new Drawable[]
{ {
new SpriteIcon new SpriteIcon
@ -62,6 +62,7 @@ namespace osu.Game.Screens.OnlinePlay.Lounge.Components
Anchor = Anchor.CentreLeft, Anchor = Anchor.CentreLeft,
Origin = Anchor.CentreLeft, Origin = Anchor.CentreLeft,
Size = new Vector2(16), Size = new Vector2(16),
Margin = new MarginPadding(8),
Icon = FontAwesome.Solid.User, Icon = FontAwesome.Solid.User,
}, },
avatarFlow = new FillFlowContainer<CircularAvatar> avatarFlow = new FillFlowContainer<CircularAvatar>