1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-19 05:09:54 +08:00

Use loadComponentSingleFile for caching

This commit is contained in:
Craftplacer
2019-09-15 17:15:52 +02:00
Unverified
parent 811a08d18f
commit 08ab4e508f
+1 -1
View File
@@ -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);