mirror of
https://github.com/osukey/osukey.git
synced 2025-08-05 15:44:04 +09:00
Center icon and text using anchor and origin instead of margin
This commit is contained in:
@ -121,10 +121,11 @@ namespace osu.Game.Overlays.Chat.Selection
|
||||
{
|
||||
new SpriteIcon
|
||||
{
|
||||
Anchor = Anchor.CentreLeft,
|
||||
Origin = Anchor.CentreLeft,
|
||||
Icon = FontAwesome.Solid.User,
|
||||
Size = new Vector2(text_size - 2),
|
||||
Shadow = false,
|
||||
Margin = new MarginPadding { Top = 1 },
|
||||
},
|
||||
new OsuSpriteText
|
||||
{
|
||||
|
Reference in New Issue
Block a user