fix: menu icon in submenu are not fixed

This commit is contained in:
anatawa12 2024-12-18 00:47:27 +09:00 committed by bd_
parent 3ceafb8e1f
commit 909d7e66c4

View File

@ -93,6 +93,11 @@ namespace nadena.dev.modular_avatar.core.editor
control.icon = newIcon;
}
if (control.subMenu != null)
{
VisitMenu(control.subMenu);
}
if (control.labels != null)
{
for (int i = 0; i < control.labels.Length; i++)