mirror of
https://github.com/bdunderscore/modular-avatar.git
synced 2024-12-29 02:35:06 +08:00
fix: menu icon in submenu are not fixed
This commit is contained in:
parent
cca9e22edd
commit
aed519b773
@ -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++)
|
||||
@ -163,4 +168,4 @@ namespace nadena.dev.modular_avatar.core.editor
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user