Combine RestorableKeyBindingRow back into KeyBindingRow

This commit is contained in:
Dean Herbert
2021-05-26 18:03:15 +09:00
parent 02806fedb0
commit 7c9383b586
5 changed files with 104 additions and 121 deletions

View File

@ -21,6 +21,9 @@ namespace osu.Game.Overlays
private readonly BindableWithCurrent<T> current = new BindableWithCurrent<T>();
// this is done to ensure a click on this button doesn't trigger focus on a parent element which contains the button.
public override bool AcceptsFocus => true;
public Bindable<T> Current
{
get => current.Current;