mirror of
https://github.com/ppy/osu.git
synced 2025-01-12 11:42:54 +08:00
Move hover layer behind icon
Looked bad on the "already downloaded" state where the icon becomes black.
This commit is contained in:
parent
fb0bc597a0
commit
df9f49eef2
@ -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,
|
||||
},
|
||||
}
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user