mirror of https://github.com/ppy/osu
Fix alignment of icons on mod buttons
This commit is contained in:
parent
d7fede96ef
commit
3416925233
|
@ -45,10 +45,11 @@ public ModIcon(Mod mod)
|
|||
},
|
||||
modIcon = new SpriteIcon
|
||||
{
|
||||
Origin = Anchor.Centre,
|
||||
Anchor = Anchor.Centre,
|
||||
Origin = Anchor.TopCentre,
|
||||
Anchor = Anchor.TopCentre,
|
||||
Colour = OsuColour.Gray(84),
|
||||
Size = new Vector2(icon_size - 35),
|
||||
Y = 25,
|
||||
Icon = mod.Icon
|
||||
},
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue