mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 16:27:26 +08:00
Fix hovered dropdown item chevron not using OverlayColourProvider
This commit is contained in:
parent
7e7b747755
commit
a6c2848460
@ -223,7 +223,6 @@ namespace osu.Game.Graphics.UserInterface
|
||||
{
|
||||
AlwaysPresent = true,
|
||||
Icon = FontAwesome.Solid.ChevronRight,
|
||||
Colour = Color4.Black,
|
||||
Alpha = 0.5f,
|
||||
Size = new Vector2(8),
|
||||
Margin = new MarginPadding { Left = 3, Right = 3 },
|
||||
@ -237,6 +236,12 @@ namespace osu.Game.Graphics.UserInterface
|
||||
},
|
||||
};
|
||||
}
|
||||
|
||||
[BackgroundDependencyLoader(true)]
|
||||
private void load(OverlayColourProvider? colourProvider)
|
||||
{
|
||||
Chevron.Colour = colourProvider?.Background5 ?? Color4.Black;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user