1
0
mirror of https://github.com/ppy/osu.git synced 2026-06-04 21:38:30 +08:00

Merge pull request #1418 from peppy/fix-volume-and-overlay

Fix VolumeControl and OnScreenDisplay being added to the wrong container
This commit is contained in:
Dan Balasescu
2017-10-24 15:24:15 +09:00
committed by GitHub
Unverified
+2 -2
View File
@@ -185,8 +185,8 @@ namespace osu.Game
},
}, 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);