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:
parent
236352a176
commit
5bea5415be
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user