fix: menu installer GUI selection window is broken (#392)

Fixes #391
This commit is contained in:
bd_ 2023-08-13 21:36:04 +09:00 committed by GitHub
parent 5ebc707cf1
commit 06a473eaec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)