mirror of
https://github.com/ppy/osu.git
synced 2026-05-22 00:30:45 +08:00
Add setting skin on notification click
This commit is contained in:
@@ -87,6 +87,15 @@ namespace osu.Game.Skinning
|
||||
skinImporter = new SkinImporter(storage, realm, this)
|
||||
{
|
||||
PostNotification = obj => PostNotification?.Invoke(obj),
|
||||
PresentImport = skins =>
|
||||
{
|
||||
switch (skins.Count())
|
||||
{
|
||||
case 1:
|
||||
CurrentSkinInfo.Value = skins.Last();
|
||||
break;
|
||||
}
|
||||
},
|
||||
};
|
||||
|
||||
var defaultSkins = new[]
|
||||
|
||||
Reference in New Issue
Block a user