mirror of https://github.com/ppy/osu
Fix CI issues
This commit is contained in:
parent
013b4f9b89
commit
3644198c6e
|
@ -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
|
||||
{
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue