mirror of
https://github.com/osukey/osukey.git
synced 2025-07-03 01:09:57 +09:00
Update usage design.
This commit is contained in:
@ -22,8 +22,10 @@ namespace osu.Game.Overlays
|
||||
|
||||
public const float CONTENT_X_MARGIN = 50;
|
||||
|
||||
public UserProfileOverlay(User user)
|
||||
public void ShowUser(User user)
|
||||
{
|
||||
Clear();
|
||||
lastSection = null;
|
||||
var sections = new ProfileSection[]
|
||||
{
|
||||
new AboutSection(),
|
||||
@ -87,6 +89,7 @@ namespace osu.Game.Overlays
|
||||
sectionsContainer.ScrollContainer.ScrollIntoView(lastSection);
|
||||
}
|
||||
};
|
||||
Show();
|
||||
}
|
||||
|
||||
private class ProfileTabControl : PageTabControl<ProfileSection>
|
||||
|
Reference in New Issue
Block a user