1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-15 07:32:55 +08:00

Avoid covariant array conversion

This commit is contained in:
recapitalverb 2020-02-11 17:36:10 +07:00
parent 28a39fd8fa
commit 44568ac9e6

View File

@ -131,9 +131,9 @@ namespace osu.Game.Overlays.BeatmapSet.Scores
new Dimension(GridSizeMode.Absolute, 4),
new Dimension(GridSizeMode.AutoSize)
},
Content = new Drawable[][]
Content = new[]
{
new []
new Drawable[]
{
text = new OsuSpriteText
{
@ -141,7 +141,7 @@ namespace osu.Game.Overlays.BeatmapSet.Scores
Text = title.ToUpper()
}
},
new[]
new Drawable[]
{
separator = new Box
{
@ -150,7 +150,7 @@ namespace osu.Game.Overlays.BeatmapSet.Scores
Height = 2
}
},
new[]
new Drawable[]
{
content
}