mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 00:09:55 +09:00
Update UI controls to understand DisabledChanged.
This commit is contained in:
@ -74,6 +74,11 @@ namespace osu.Game.Graphics.UserInterface
|
||||
Expanded = true,
|
||||
}
|
||||
};
|
||||
|
||||
Current.DisabledChanged += disabled =>
|
||||
{
|
||||
Alpha = disabled ? 0.3f : 1;
|
||||
};
|
||||
}
|
||||
|
||||
[BackgroundDependencyLoader]
|
||||
|
Reference in New Issue
Block a user