1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-06 06:17:23 +08:00

Fix incorrect class name.

This commit is contained in:
Huo Yaoyuan 2017-06-09 14:53:30 +08:00
parent 5a0bd3b695
commit 8dce52e6a8
2 changed files with 3 additions and 3 deletions

View File

@ -10,12 +10,12 @@ using osu.Game.Graphics.Sprites;
namespace osu.Game.Users.Profile
{
public class UserPageHeader : Container
public class ProfileHeader : Container
{
private readonly User user;
private const float cover_height = 200, avatar_size = 110, avatar_bottom_position = -20;
public UserPageHeader(User user)
public ProfileHeader(User user)
{
this.user = user;
RelativeSizeAxes = Axes.X;

View File

@ -53,7 +53,7 @@ namespace osu.Game.Users
var sectionsContainer = new SectionsContainer
{
RelativeSizeAxes = Axes.Both,
ExpandableHeader = new UserPageHeader(user),
ExpandableHeader = new ProfileHeader(user),
FixedHeader = tabs,
HeaderBackground = new Box
{