mirror of
https://github.com/ppy/osu
synced 2024-12-13 18:37:04 +00:00
Fix registration textboxes always focusing after pressing escape
This commit is contained in:
parent
e7290c433b
commit
8154cc1b16
@ -138,18 +138,12 @@ namespace osu.Game.Overlays.AccountCreation
|
||||
passwordTextBox.Current.ValueChanged += password => { characterCheckText.ForEach(s => s.Colour = password.NewValue.Length == 0 ? Color4.White : Interpolation.ValueAt(password.NewValue.Length, Color4.OrangeRed, Color4.YellowGreen, 0, 8, Easing.In)); };
|
||||
}
|
||||
|
||||
protected override void Update()
|
||||
{
|
||||
base.Update();
|
||||
|
||||
if (host?.OnScreenKeyboardOverlapsGameWindow != true && !textboxes.Any(t => t.HasFocus))
|
||||
focusNextTextbox();
|
||||
}
|
||||
|
||||
public override void OnEntering(IScreen last)
|
||||
{
|
||||
base.OnEntering(last);
|
||||
processingOverlay.Hide();
|
||||
|
||||
focusNextTextbox();
|
||||
}
|
||||
|
||||
private void performRegistration()
|
||||
|
Loading…
Reference in New Issue
Block a user