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:
parent
5a0bd3b695
commit
8dce52e6a8
@ -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;
|
||||
|
@ -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
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user