1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-15 01:43:15 +08:00

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.Framework.Graphics.Sprites;
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 @@ namespace osu.Game.Overlays.Settings.Sections.General
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);
}
}