fix: menu icon in submenu are not fixed

This commit is contained in:
anatawa12 2024-12-18 00:47:27 +09:00 committed by GitHub
parent cca9e22edd
commit aed519b773
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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