mirror of https://github.com/ppy/osu
Use loadComponentSingleFile for caching
This commit is contained in:
parent
811a08d18f
commit
08ab4e508f
|
@ -485,7 +485,7 @@ protected override void LoadComplete()
|
|||
toolbarElements.Add(d);
|
||||
});
|
||||
|
||||
dependencies.Cache(loadComponentSingleFile(volume = new VolumeOverlay(), leftFloatingOverlayContent.Add));
|
||||
loadComponentSingleFile(volume = new VolumeOverlay(), leftFloatingOverlayContent.Add, true);
|
||||
|
||||
loadComponentSingleFile(new OnScreenDisplay(), Add, true);
|
||||
|
||||
|
|
Loading…
Reference in New Issue