1
0
mirror of https://github.com/ppy/osu.git synced 2025-03-15 23:57:25 +08:00

Set alpha on container instead of children

This commit is contained in:
EXtremeExploit 2023-01-22 15:02:02 -03:00
parent de5eb63ceb
commit e60a089f1a
No known key found for this signature in database

View File

@ -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)