1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-22 11:27:24 +08:00

Fix alignment of icons on mod buttons

This commit is contained in:
Dean Herbert 2017-08-05 11:09:44 +09:00
parent d7fede96ef
commit 3416925233

View File

@ -45,10 +45,11 @@ namespace osu.Game.Rulesets.UI
},
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
},
};