1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-16 14:13:21 +08:00

Merge pull request #19934 from novialriptide/copyexternalurl-user

Add profile url context menu to user container
This commit is contained in:
Dean Herbert 2022-08-24 17:14:06 +09:00 committed by GitHub
commit 0fd6f90848
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14,6 +14,7 @@ using osu.Framework.Graphics.Shapes;
using osu.Framework.Localisation;
using osu.Game.Graphics;
using osu.Game.Graphics.Sprites;
using osu.Game.Graphics.Cursor;
using osu.Game.Graphics.UserInterface;
using osu.Game.Online.API;
using osu.Game.Online.API.Requests.Responses;
@ -70,7 +71,11 @@ namespace osu.Game.Overlays.Profile.Header
Masking = true,
CornerRadius = avatar_size * 0.25f,
},
new Container
new OsuContextMenuContainer
{
RelativeSizeAxes = Axes.Y,
AutoSizeAxes = Axes.X,
Child = new Container
{
RelativeSizeAxes = Axes.Y,
AutoSizeAxes = Axes.X,
@ -154,6 +159,7 @@ namespace osu.Game.Overlays.Profile.Header
}
}
}
}
},
userStats = new FillFlowContainer
{