Fix user top score not having a context menu

This commit is contained in:
Joehu 2020-07-11 16:22:01 -07:00
parent 9b4bed2ab2
commit 0d26ad9ddb

View File

@ -170,7 +170,10 @@ namespace osu.Game.Online.Leaderboards
{ {
InternalChildren = new Drawable[] InternalChildren = new Drawable[]
{ {
new GridContainer new OsuContextMenuContainer
{
RelativeSizeAxes = Axes.Both,
Child = new GridContainer
{ {
RelativeSizeAxes = Axes.Both, RelativeSizeAxes = Axes.Both,
RowDimensions = new[] RowDimensions = new[]
@ -182,15 +185,11 @@ namespace osu.Game.Online.Leaderboards
{ {
new Drawable[] new Drawable[]
{ {
new OsuContextMenuContainer scrollContainer = new OsuScrollContainer
{
RelativeSizeAxes = Axes.Both,
Child = scrollContainer = new OsuScrollContainer
{ {
RelativeSizeAxes = Axes.Both, RelativeSizeAxes = Axes.Both,
ScrollbarVisible = false, ScrollbarVisible = false,
} }
}
}, },
new Drawable[] new Drawable[]
{ {
@ -202,6 +201,7 @@ namespace osu.Game.Online.Leaderboards
} }
}, },
}, },
},
loading = new LoadingSpinner(), loading = new LoadingSpinner(),
placeholderContainer = new Container placeholderContainer = new Container
{ {