Fix CI issues

This commit is contained in:
Dean Herbert 2017-05-28 21:20:11 +09:00
parent 013b4f9b89
commit 3644198c6e
2 changed files with 1 additions and 9 deletions

View File

@ -8,7 +8,6 @@
using osu.Game.Graphics;
using osu.Game.Overlays.Settings.Sections.General;
using OpenTK.Graphics;
using osu.Framework.Input;
namespace osu.Game.Overlays
{

View File

@ -237,14 +237,7 @@ private void load(APIAccess api, OsuConfigManager config, UserInputManager input
protected override bool OnFocus(InputState state)
{
Schedule(() =>
{
if (string.IsNullOrEmpty(username.Text))
inputManager.ChangeFocus(username);
else
inputManager.ChangeFocus(password);
});
Schedule(() => { inputManager.ChangeFocus(string.IsNullOrEmpty(username.Text) ? username : password); });
return base.OnFocus(state);
}
}