From 542c6501a7ed722ce405c6ef7f7f5f10f7c857f8 Mon Sep 17 00:00:00 2001 From: Dean Herbert Date: Tue, 24 Oct 2017 13:10:17 +0900 Subject: [PATCH] Fix VolumeControl and OnScreenDisplay being added to the wrong container --- osu.Game/OsuGame.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/osu.Game/OsuGame.cs b/osu.Game/OsuGame.cs index 1e7b0dc0bc..fc5b607810 100644 --- a/osu.Game/OsuGame.cs +++ b/osu.Game/OsuGame.cs @@ -185,8 +185,8 @@ protected override void LoadComplete() }, }, overlayContent.Add); - loadComponentSingleFile(volume = new VolumeControl(), AddInternal); - loadComponentSingleFile(new OnScreenDisplay(), AddInternal); + loadComponentSingleFile(volume = new VolumeControl(), Add); + loadComponentSingleFile(new OnScreenDisplay(), Add); //overlay elements loadComponentSingleFile(direct = new DirectOverlay { Depth = -1 }, mainContent.Add);