Remove need for tracking bool and backing logo

This commit is contained in:
David Zhao
2019-04-08 16:14:41 +09:00
parent 376bed3a30
commit 8a01995668
2 changed files with 13 additions and 16 deletions

View File

@ -63,7 +63,6 @@ namespace osu.Game.Screens.Menu
// osuLogo.SizeForFlow relies on loading to be complete.
buttonArea.Flow.Position = new Vector2(WEDGE_WIDTH * 2 - (BUTTON_WIDTH + this.logo.SizeForFlow / 4), 0);
logoTrackingContainer.LogoFacade.Scale = new Vector2(0.74f);
updateLogoState();
}
@ -106,6 +105,7 @@ namespace osu.Game.Screens.Menu
});
buttonArea.Flow.CentreTarget = logoTrackingContainer.LogoFacade;
logoTrackingContainer.LogoFacade.Scale = new Vector2(0.74f);
}
[Resolved(CanBeNull = true)]