mirror of
https://github.com/ppy/osu
synced 2025-01-05 13:50:03 +00:00
Fix VolumeControl and OnScreenDisplay being added to the wrong container
This commit is contained in:
parent
4751ea07c6
commit
542c6501a7
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user