1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-15 10:27:35 +08:00

Fix enabled state not updating drawable

This commit is contained in:
OliBomby 2024-10-24 13:15:09 +02:00
parent 940220b649
commit 5b92a9ff59

View File

@ -60,6 +60,7 @@ namespace osu.Game.Screens.Edit.Components.TernaryButtons
base.LoadComplete();
Button.Bindable.BindValueChanged(_ => updateSelectionState(), true);
Button.Enabled.BindTo(Enabled);
Action = onAction;
}