mirror of
https://github.com/ppy/osu
synced 2024-12-14 19:06:07 +00:00
Isolate alpha usage in OsuCheckbox
This commit is contained in:
parent
05c0df53dc
commit
e7b9d1efa3
@ -78,7 +78,7 @@ namespace osu.Game.Graphics.UserInterface
|
|||||||
|
|
||||||
Current.DisabledChanged += disabled =>
|
Current.DisabledChanged += disabled =>
|
||||||
{
|
{
|
||||||
Alpha = disabled ? 0.3f : 1;
|
labelSpriteText.Alpha = Nub.Alpha = disabled ? 0.3f : 1;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user