mirror of
https://github.com/ppy/osu.git
synced 2024-11-15 14:27:51 +08:00
Fix enabled state not updating drawable
This commit is contained in:
parent
940220b649
commit
5b92a9ff59
@ -60,6 +60,7 @@ namespace osu.Game.Screens.Edit.Components.TernaryButtons
|
|||||||
base.LoadComplete();
|
base.LoadComplete();
|
||||||
|
|
||||||
Button.Bindable.BindValueChanged(_ => updateSelectionState(), true);
|
Button.Bindable.BindValueChanged(_ => updateSelectionState(), true);
|
||||||
|
Button.Enabled.BindTo(Enabled);
|
||||||
|
|
||||||
Action = onAction;
|
Action = onAction;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user