mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 08:20:00 +09:00
Add back explicit binds.
This commit is contained in:
@ -24,7 +24,7 @@ namespace osu.Game.Graphics.UserInterface
|
||||
set
|
||||
{
|
||||
bindable = value;
|
||||
Current = bindable;
|
||||
Current.BindTo(bindable);
|
||||
if (value?.Disabled ?? true)
|
||||
Alpha = 0.3f;
|
||||
}
|
||||
@ -69,13 +69,14 @@ namespace osu.Game.Graphics.UserInterface
|
||||
labelSpriteText = new OsuSpriteText(),
|
||||
nub = new Nub
|
||||
{
|
||||
Current = Current,
|
||||
Anchor = Anchor.CentreRight,
|
||||
Origin = Anchor.CentreRight,
|
||||
Margin = new MarginPadding { Right = 5 },
|
||||
}
|
||||
};
|
||||
|
||||
nub.Current.BindTo(Current);
|
||||
|
||||
Current.ValueChanged += newValue =>
|
||||
{
|
||||
if (newValue)
|
||||
|
Reference in New Issue
Block a user