Display skin changes via on-screen display overlay

This commit is contained in:
Dean Herbert
2020-11-11 12:19:01 +09:00
parent 451f0a29c6
commit 9caa56c64f
2 changed files with 12 additions and 0 deletions

View File

@ -548,6 +548,10 @@ namespace osu.Game
ScoreManager.GetStableStorage = GetStorageForStableInstall;
ScoreManager.PresentImport = items => PresentScore(items.First());
// make config aware of how to lookup skins for on-screen display purposes.
// if this becomes a more common thing, tracked settings should be reconsidered to allow local DI.
LocalConfig.LookupSkinName = id => SkinManager.GetAllUsableSkins().FirstOrDefault(s => s.ID == id)?.ToString() ?? "Unknown";
Container logoContainer;
BackButton.Receptor receptor;