mirror of https://github.com/ppy/osu
Fix settings textbox focus operation running too late
This commit is contained in:
parent
50a478ea5f
commit
296420ae08
|
@ -163,6 +163,7 @@ protected override void PopIn()
|
|||
Sidebar?.MoveToX(0, TRANSITION_LENGTH, Easing.OutQuint);
|
||||
this.FadeTo(1, TRANSITION_LENGTH, Easing.OutQuint);
|
||||
|
||||
searchTextBox.TakeFocus();
|
||||
searchTextBox.HoldFocus = true;
|
||||
}
|
||||
|
||||
|
@ -213,7 +214,6 @@ private void loadSections()
|
|||
loading.Hide();
|
||||
|
||||
searchTextBox.Current.BindValueChanged(term => SectionsContainer.SearchTerm = term.NewValue, true);
|
||||
searchTextBox.TakeFocus();
|
||||
|
||||
loadSidebarButtons();
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue