mirror of
https://github.com/bdunderscore/modular-avatar.git
synced 2024-12-29 02:35:06 +08:00
fix: NRE in RO simulator (#1292)
This commit is contained in:
parent
5d399dce4a
commit
662172c2e5
@ -256,7 +256,7 @@ namespace nadena.dev.modular_avatar.core.editor.Simulator
|
||||
return;
|
||||
}
|
||||
|
||||
_btn_clear.SetEnabled(!PropertyOverrides.Value.IsEmpty || !MenuItemOverrides.Value.IsEmpty);
|
||||
_btn_clear.SetEnabled(PropertyOverrides.Value?.IsEmpty == false || MenuItemOverrides.Value?.IsEmpty == false);
|
||||
|
||||
e_debugInfo.style.display = DisplayStyle.Flex;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user