mirror of
https://github.com/ppy/osu.git
synced 2025-01-06 06:13:04 +08:00
Adjust member ordering in LoginForm
This commit is contained in:
parent
85e303ec54
commit
80c879e5eb
@ -32,13 +32,7 @@ namespace osu.Game.Overlays.Login
|
|||||||
|
|
||||||
public Action? RequestHide;
|
public Action? RequestHide;
|
||||||
|
|
||||||
private void performLogin()
|
public override bool AcceptsFocus => true;
|
||||||
{
|
|
||||||
if (!string.IsNullOrEmpty(username.Text) && !string.IsNullOrEmpty(password.Text))
|
|
||||||
api.Login(username.Text, password.Text);
|
|
||||||
else
|
|
||||||
shakeSignIn.Shake();
|
|
||||||
}
|
|
||||||
|
|
||||||
[BackgroundDependencyLoader(permitNulls: true)]
|
[BackgroundDependencyLoader(permitNulls: true)]
|
||||||
private void load(OsuConfigManager config, AccountCreationOverlay accountCreation)
|
private void load(OsuConfigManager config, AccountCreationOverlay accountCreation)
|
||||||
@ -144,7 +138,13 @@ namespace osu.Game.Overlays.Login
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public override bool AcceptsFocus => true;
|
private void performLogin()
|
||||||
|
{
|
||||||
|
if (!string.IsNullOrEmpty(username.Text) && !string.IsNullOrEmpty(password.Text))
|
||||||
|
api.Login(username.Text, password.Text);
|
||||||
|
else
|
||||||
|
shakeSignIn.Shake();
|
||||||
|
}
|
||||||
|
|
||||||
protected override bool OnClick(ClickEvent e) => true;
|
protected override bool OnClick(ClickEvent e) => true;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user