mirror of
https://github.com/ppy/osu.git
synced 2025-01-28 07:23:14 +08:00
Clean up remaining assignments of logo relativePositionAxes
This commit is contained in:
parent
6b5458a625
commit
15b2b6af7d
@ -170,7 +170,6 @@ namespace osu.Game.Tests.Visual
|
||||
AddStep("Perform logo movements", () =>
|
||||
{
|
||||
facadeContainer.Tracking = false;
|
||||
logo.RelativePositionAxes = Axes.Both;
|
||||
logo.MoveTo(new Vector2(0.5f), 500, Easing.InOutExpo);
|
||||
facadeContainer.SetLogo(logo, 1.0f, 1000, Easing.InOutExpo);
|
||||
visualBox.Colour = Color4.White;
|
||||
|
@ -276,8 +276,6 @@ namespace osu.Game.Screens.Menu
|
||||
game?.Toolbar.Hide();
|
||||
|
||||
logo.ClearTransforms(targetMember: nameof(Position));
|
||||
logo.RelativePositionAxes = Axes.Both;
|
||||
|
||||
logo.MoveTo(new Vector2(0.5f), 800, Easing.OutExpo);
|
||||
logo.ScaleTo(1, 800, Easing.OutExpo);
|
||||
}, buttonArea.Alpha * 150);
|
||||
|
@ -131,12 +131,9 @@ namespace osu.Game.Screens.Play
|
||||
|
||||
private void contentOut()
|
||||
{
|
||||
// Ensure the logo is no longer tracking before we scale the content, and that its RelativePositionAxes have been returned.
|
||||
// Ensure the logo is no longer tracking before we scale the content
|
||||
content.Tracking = false;
|
||||
|
||||
if (logo != null)
|
||||
logo.RelativePositionAxes = Axes.Both;
|
||||
|
||||
content.ScaleTo(0.7f, 300, Easing.InQuint);
|
||||
content.FadeOut(250);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user