diff --git a/osu.Game/Overlays/Direct/DirectGridPanel.cs b/osu.Game/Overlays/Direct/DirectGridPanel.cs index 9200e53dcf..f8a6f1530f 100644 --- a/osu.Game/Overlays/Direct/DirectGridPanel.cs +++ b/osu.Game/Overlays/Direct/DirectGridPanel.cs @@ -46,14 +46,7 @@ namespace osu.Game.Overlays.Direct RelativeSizeAxes = Axes.Both, Colour = Color4.Black, }, - new Container - { - RelativeSizeAxes = Axes.Both, - Children = new[] - { - GetBackground(textures), - }, - }, + GetBackground(textures), new Box { RelativeSizeAxes = Axes.Both, diff --git a/osu.Game/Overlays/Direct/DirectListPanel.cs b/osu.Game/Overlays/Direct/DirectListPanel.cs index a6c23ea7bd..d4779c99e1 100644 --- a/osu.Game/Overlays/Direct/DirectListPanel.cs +++ b/osu.Game/Overlays/Direct/DirectListPanel.cs @@ -49,14 +49,7 @@ namespace osu.Game.Overlays.Direct RelativeSizeAxes = Axes.Both, Colour = Color4.Black, }, - new Container - { - RelativeSizeAxes = Axes.Both, - Children = new[] - { - GetBackground(textures), - }, - }, + GetBackground(textures), new Box { RelativeSizeAxes = Axes.Both,