1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 09:32:55 +08:00

the comment

This commit is contained in:
EXtremeExploit 2023-02-03 11:48:11 -03:00
parent 1de0bed83d
commit f9809c9481
No known key found for this signature in database

View File

@ -54,6 +54,8 @@ namespace osu.Game.Overlays.Profile.Header.Components
RelativeSizeAxes = Axes.Both, RelativeSizeAxes = Axes.Both,
Colour = colourProvider?.Background6 ?? Colour4.Black, Colour = colourProvider?.Background6 ?? Colour4.Black,
// Normal badges background opacity is 75%, probationary is full opacity as the whole badge gets a bit transparent // Normal badges background opacity is 75%, probationary is full opacity as the whole badge gets a bit transparent
// Goal is to match osu-web so this is the most accurate it can be, its a bit scuffed but it is what it is
// Source: https://github.com/ppy/osu-web/blob/master/resources/css/bem/user-group-badge.less#L50
Alpha = group.IsProbationary ? 1 : 0.75f, Alpha = group.IsProbationary ? 1 : 0.75f,
}, },
innerContainer = new FillFlowContainer innerContainer = new FillFlowContainer