mirror of
https://github.com/ppy/osu.git
synced 2024-11-15 12:27:26 +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();
|
||||
|
||||
Button.Bindable.BindValueChanged(_ => updateSelectionState(), true);
|
||||
Button.Enabled.BindTo(Enabled);
|
||||
|
||||
Action = onAction;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user