Merge branch 'master' into hub-send-version-hash

This commit is contained in:
Dan Balasescu
2021-02-15 21:12:46 +09:00
committed by GitHub
3 changed files with 10 additions and 4 deletions

View File

@ -111,6 +111,6 @@ namespace osu.Game.Online.API
/// <param name="username">The username to create the account with.</param> /// <param name="username">The username to create the account with.</param>
/// <param name="password">The password to create the account with.</param> /// <param name="password">The password to create the account with.</param>
/// <returns>Any errors encoutnered during account creation.</returns> /// <returns>Any errors encoutnered during account creation.</returns>
RegistrationRequest.RegistrationRequestErrors CreateAccount(string email, string username, string password); RegistrationRequest.RegistrationRequestErrors? CreateAccount(string email, string username, string password);
} }
} }

View File

@ -176,6 +176,7 @@ namespace osu.Game.Overlays.Volume
} }
} }
}; };
Bindable.ValueChanged += volume => Bindable.ValueChanged += volume =>
{ {
this.TransformTo("DisplayVolume", this.TransformTo("DisplayVolume",
@ -183,6 +184,7 @@ namespace osu.Game.Overlays.Volume
400, 400,
Easing.OutQuint); Easing.OutQuint);
}; };
bgProgress.Current.Value = 0.75f; bgProgress.Current.Value = 0.75f;
} }

View File

@ -67,15 +67,19 @@ namespace osu.Game.Screens
} }
public override bool OnExiting(IScreen next) public override bool OnExiting(IScreen next)
{
if (IsLoaded)
{ {
this.FadeOut(transition_length, Easing.OutExpo); this.FadeOut(transition_length, Easing.OutExpo);
this.MoveToX(x_movement_amount, transition_length, Easing.OutExpo); this.MoveToX(x_movement_amount, transition_length, Easing.OutExpo);
}
return base.OnExiting(next); return base.OnExiting(next);
} }
public override void OnResuming(IScreen last) public override void OnResuming(IScreen last)
{ {
if (IsLoaded)
this.MoveToX(0, transition_length, Easing.OutExpo); this.MoveToX(0, transition_length, Easing.OutExpo);
base.OnResuming(last); base.OnResuming(last);
} }