mirror of
https://github.com/ppy/osu.git
synced 2025-01-12 15:22:55 +08:00
Invert text colour when freemods is enabled for better contrast
This commit is contained in:
parent
18c5fc689f
commit
c93d6a4008
@ -111,16 +111,19 @@ namespace osu.Game.Screens.OnlinePlay
|
||||
if (current == allAvailableAndValidMods.Count())
|
||||
{
|
||||
count.Text = "all";
|
||||
count.FadeColour(colours.Gray2, 200, Easing.OutQuint);
|
||||
circle.FadeColour(colours.Yellow, 200, Easing.OutQuint);
|
||||
}
|
||||
else if (current > 0)
|
||||
{
|
||||
count.Text = $"{current} mods";
|
||||
count.FadeColour(colours.Gray2, 200, Easing.OutQuint);
|
||||
circle.FadeColour(colours.YellowDark, 200, Easing.OutQuint);
|
||||
}
|
||||
else
|
||||
{
|
||||
count.Text = "off";
|
||||
count.FadeColour(colours.GrayF, 200, Easing.OutQuint);
|
||||
circle.FadeColour(colours.Gray4, 200, Easing.OutQuint);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user