mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 12:33:01 +08:00
the comment
This commit is contained in:
parent
1de0bed83d
commit
f9809c9481
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user