mirror of
https://github.com/ppy/osu
synced 2025-01-19 04:20:59 +00: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:
commit
24de147046
@ -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