1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-13 14:12:56 +08:00

Fix login error text adding unnecessary spacing

This commit is contained in:
Joseph Madamba 2023-06-25 11:47:32 -07:00
parent 442fda3598
commit 4a3b8c405e
No known key found for this signature in database
GPG Key ID: 8B746C7BDDF0BD76

View File

@ -73,6 +73,7 @@ namespace osu.Game.Overlays.Login
{
RelativeSizeAxes = Axes.X,
AutoSizeAxes = Axes.Y,
Alpha = 0,
},
new SettingsCheckbox
{
@ -128,8 +129,11 @@ namespace osu.Game.Overlays.Login
password.OnCommit += (_, _) => performLogin();
if (api.LastLoginError?.Message is string error)
{
errorText.Alpha = 1;
errorText.AddErrors(new[] { error });
}
}
public override bool AcceptsFocus => true;