mirror of
https://github.com/ppy/osu.git
synced 2025-02-15 15:23:14 +08:00
Center -> centre
This commit is contained in:
parent
b33c0e9a93
commit
0eca9b9683
@ -21,6 +21,7 @@ namespace osu.Game.Tests.Visual.Online
|
||||
typeof(RankGraph),
|
||||
typeof(LineGraph),
|
||||
typeof(ProfileHeaderTabControl),
|
||||
typeof(CentreHeaderContainer),
|
||||
typeof(BottomHeaderContainer)
|
||||
};
|
||||
|
||||
|
@ -18,7 +18,7 @@ using osuTK.Graphics;
|
||||
|
||||
namespace osu.Game.Overlays.Profile.Header
|
||||
{
|
||||
public class CenterHeaderContainer : CompositeDrawable
|
||||
public class CentreHeaderContainer : CompositeDrawable
|
||||
{
|
||||
public Action<bool> DetailsVisibilityAction;
|
||||
private bool detailsVisible;
|
@ -26,7 +26,7 @@ namespace osu.Game.Overlays.Profile
|
||||
|
||||
public ProfileHeader()
|
||||
{
|
||||
CenterHeaderContainer centerHeaderContainer;
|
||||
CentreHeaderContainer centreHeaderContainer;
|
||||
DetailHeaderContainer detailHeaderContainer;
|
||||
|
||||
RelativeSizeAxes = Axes.X;
|
||||
@ -91,7 +91,7 @@ namespace osu.Game.Overlays.Profile
|
||||
RelativeSizeAxes = Axes.X,
|
||||
User = { BindTarget = User },
|
||||
},
|
||||
centerHeaderContainer = new CenterHeaderContainer
|
||||
centreHeaderContainer = new CentreHeaderContainer
|
||||
{
|
||||
RelativeSizeAxes = Axes.X,
|
||||
User = { BindTarget = User },
|
||||
@ -118,7 +118,7 @@ namespace osu.Game.Overlays.Profile
|
||||
infoTabControl.AddItem("Info");
|
||||
infoTabControl.AddItem("Modding");
|
||||
|
||||
centerHeaderContainer.DetailsVisibilityAction = visible => detailHeaderContainer.Alpha = visible ? 0 : 1;
|
||||
centreHeaderContainer.DetailsVisibilityAction = visible => detailHeaderContainer.Alpha = visible ? 0 : 1;
|
||||
User.ValueChanged += e => updateDisplay(e.NewValue);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user