1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 19:22:54 +08:00

Merge pull request #4860 from peppy/isolate-checkbox-alpha

Isolate alpha usage in OsuCheckbox
This commit is contained in:
Dan Balasescu 2019-05-28 13:25:37 +09:00 committed by GitHub
commit 1f4957a2da
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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;
};
}