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

Move hover layer behind icon

Looked bad on the "already downloaded" state where the icon becomes
black.
This commit is contained in:
Dean Herbert 2022-11-03 13:56:06 +09:00
parent fb0bc597a0
commit df9f49eef2

View File

@ -78,17 +78,17 @@ namespace osu.Game.Beatmaps.Drawables.Cards.Buttons
Anchor = Anchor.Centre,
Children = new Drawable[]
{
Icon = new SpriteIcon
{
Origin = Anchor.Centre,
Anchor = Anchor.Centre,
},
hover = new Box
{
RelativeSizeAxes = Axes.Both,
Colour = Color4.White.Opacity(0.1f),
Blending = BlendingParameters.Additive,
},
Icon = new SpriteIcon
{
Origin = Anchor.Centre,
Anchor = Anchor.Centre,
},
}
});