mirror of
https://github.com/ppy/osu.git
synced 2025-01-12 11:42:54 +08:00
Use loadComponentSingleFile for caching
This commit is contained in:
parent
811a08d18f
commit
08ab4e508f
@ -485,7 +485,7 @@ namespace osu.Game
|
||||
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
Block a user