mirror of
https://github.com/bdunderscore/modular-avatar.git
synced 2024-12-29 18:55:06 +08:00
parent
5ebc707cf1
commit
06a473eaec
@ -223,6 +223,12 @@ namespace nadena.dev.modular_avatar.core.editor
|
||||
DestroyInstallTargets();
|
||||
}
|
||||
|
||||
if (menu is ValueTuple<object, object> vt) // TODO: This should be a named type...
|
||||
{
|
||||
// Menu, ContextCallback
|
||||
menu = vt.Item1;
|
||||
}
|
||||
|
||||
if (menu is ModularAvatarMenuItem item)
|
||||
{
|
||||
if (item.MenuSource == SubmenuSource.MenuAsset)
|
||||
|
Loading…
Reference in New Issue
Block a user