1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-31 13:33:20 +08:00

Remove weird yellow background override on mods

To who's reading, don't follow figma designs all the time. In most cases, follow what other places are doing.
This commit is contained in:
Joseph Madamba 2023-09-22 19:55:00 -07:00
parent 236352a176
commit 5bea5415be

View File

@ -466,13 +466,11 @@ namespace osu.Game.Online.Leaderboards
{
private readonly IMod mod;
[Resolved]
private OsuColour colours { get; set; } = null!;
public ColouredModSwitchTiny(IMod mod)
: base(mod)
{
this.mod = mod;
Active.Value = true;
Masking = true;
EdgeEffect = new EdgeEffectParameters
{
@ -484,12 +482,6 @@ namespace osu.Game.Online.Leaderboards
};
}
protected override void UpdateState()
{
AcronymText.Colour = Colour4.FromHex("#555555");
Background.Colour = colours.Yellow;
}
public LocalisableString TooltipText => (mod as Mod)?.IconTooltip ?? mod.Name;
}