mirror of
https://github.com/ppy/osu
synced 2025-02-19 20:06:53 +00:00
Remove opacity from old style dropdown menus
These aren't used in many places, but we've since moved away from opacity in UI elements like this, so let's just nuke it here for legibility. Addresses https://github.com/ppy/osu/discussions/29906.
This commit is contained in:
parent
ea94f903c1
commit
76c5e743d7
@ -75,7 +75,7 @@ namespace osu.Game.Graphics.UserInterface
|
||||
[BackgroundDependencyLoader(true)]
|
||||
private void load(OverlayColourProvider? colourProvider, OsuColour colours, AudioManager audio)
|
||||
{
|
||||
BackgroundColour = colourProvider?.Background5 ?? Color4.Black.Opacity(0.5f);
|
||||
BackgroundColour = colourProvider?.Background5 ?? Color4.Black;
|
||||
HoverColour = colourProvider?.Light4 ?? colours.PinkDarker;
|
||||
SelectionColour = colourProvider?.Background3 ?? colours.PinkDarker.Opacity(0.5f);
|
||||
|
||||
@ -397,7 +397,7 @@ namespace osu.Game.Graphics.UserInterface
|
||||
{
|
||||
bool hovered = Enabled.Value && IsHovered;
|
||||
var hoveredColour = colourProvider?.Light4 ?? colours.PinkDarker;
|
||||
var unhoveredColour = colourProvider?.Background5 ?? Color4.Black.Opacity(0.5f);
|
||||
var unhoveredColour = colourProvider?.Background5 ?? Color4.Black;
|
||||
|
||||
Colour = Color4.White;
|
||||
Alpha = Enabled.Value ? 1 : 0.3f;
|
||||
|
Loading…
Reference in New Issue
Block a user