mirror of
https://github.com/ppy/osu.git
synced 2025-03-16 00:37:19 +08:00
Set alpha on container instead of children
This commit is contained in:
parent
de5eb63ceb
commit
e60a089f1a
@ -78,10 +78,7 @@ namespace osu.Game.Overlays.Profile.Header.Components
|
|||||||
// Probationary groups have an opacity of 60%
|
// Probationary groups have an opacity of 60%
|
||||||
if (group.IsProbationary)
|
if (group.IsProbationary)
|
||||||
{
|
{
|
||||||
foreach (var drawable in groupDrawables)
|
Alpha = 0.6f;
|
||||||
{
|
|
||||||
drawable.Alpha = 0.6f;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (group.Playmodes?.Length > 0)
|
if (group.Playmodes?.Length > 0)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user