Isolate alpha usage in OsuCheckbox

This commit is contained in:
Dean Herbert 2019-05-27 00:55:12 +09:00
parent 05c0df53dc
commit e7b9d1efa3

View File

@ -78,7 +78,7 @@ namespace osu.Game.Graphics.UserInterface
Current.DisabledChanged += disabled =>
{
Alpha = disabled ? 0.3f : 1;
labelSpriteText.Alpha = Nub.Alpha = disabled ? 0.3f : 1;
};
}