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

@ -243,7 +243,7 @@ namespace osu.Game.Overlays
protected override void OnFocus(InputState state)
{
//this is necessary as inputTextBox is masked away and therefore can't get focus :(
InputManager.ChangeFocus(inputTextBox);
GetContainingInputManager().ChangeFocus(inputTextBox);
base.OnFocus(state);
}