Fix VolumeControl and OnScreenDisplay being added to the wrong container

This commit is contained in:
Dean Herbert 2017-10-24 13:10:17 +09:00
parent 4751ea07c6
commit 542c6501a7
1 changed files with 2 additions and 2 deletions

View File

@ -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);