Fix some remaining usage of local InputManager instances

This commit is contained in:
Dean Herbert
2017-08-16 13:07:18 +09:00
parent 6ee4716ec5
commit a5007fc64f
5 changed files with 6 additions and 6 deletions

View File

@ -153,7 +153,7 @@ namespace osu.Game.Overlays
searchTextBox.HoldFocus = false;
if (searchTextBox.HasFocus)
InputManager.ChangeFocus(null);
GetContainingInputManager().ChangeFocus(null);
}
public override bool AcceptsFocus => true;
@ -162,7 +162,7 @@ namespace osu.Game.Overlays
protected override void OnFocus(InputState state)
{
InputManager.ChangeFocus(searchTextBox);
GetContainingInputManager().ChangeFocus(searchTextBox);
base.OnFocus(state);
}