Move default config tracking calls out of OnScreenDisplay itself

This commit is contained in:
Dean Herbert
2020-11-11 13:51:20 +09:00
parent 6014751e29
commit 324626e097
2 changed files with 7 additions and 11 deletions

View File

@ -627,7 +627,12 @@ namespace osu.Game
loadComponentSingleFile(volume = new VolumeOverlay(), leftFloatingOverlayContent.Add, true);
loadComponentSingleFile(new OnScreenDisplay(), Add, true);
var onScreenDisplay = new OnScreenDisplay();
onScreenDisplay.BeginTracking(this, frameworkConfig);
onScreenDisplay.BeginTracking(this, LocalConfig);
loadComponentSingleFile(onScreenDisplay, Add, true);
loadComponentSingleFile(notifications.With(d =>
{