mirror of
https://github.com/ppy/osu
synced 2024-12-12 09:58:22 +00:00
Update light background handling to Color4.Yellow
instead
Confirmed to be the way forward in https://github.com/ppy/osu-web/pull/7855#issuecomment-880959644.
This commit is contained in:
parent
6c9ed16b0c
commit
19d54ee751
@ -86,13 +86,8 @@ namespace osu.Game.Beatmaps.Drawables
|
||||
|
||||
background.Colour = colours.ForStarDifficulty(c.NewValue.Stars);
|
||||
|
||||
starIcon.Colour = c.NewValue.Stars >= 7.5
|
||||
? colourProvider?.Content1 ?? Color4.White
|
||||
: colourProvider?.Background5 ?? Color4Extensions.FromHex("303d47");
|
||||
|
||||
starsText.Colour = c.NewValue.Stars >= 7.5
|
||||
? colourProvider?.Content1 ?? Color4.White.Opacity(0.75f)
|
||||
: colourProvider?.Background5 ?? Color4.Black.Opacity(0.75f);
|
||||
starIcon.Colour = c.NewValue.Stars >= 6.5 ? Color4.Yellow : colourProvider?.Background5 ?? Color4Extensions.FromHex("303d47");
|
||||
starsText.Colour = c.NewValue.Stars >= 6.5 ? Color4.Yellow : colourProvider?.Background5 ?? Color4.Black.Opacity(0.75f);
|
||||
}, true);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user