fix: NRE in RO simulator (#1292)

This commit is contained in:
bd_ 2024-10-15 19:13:01 -07:00 committed by GitHub
parent 5d399dce4a
commit 662172c2e5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -256,7 +256,7 @@ namespace nadena.dev.modular_avatar.core.editor.Simulator
return; 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; e_debugInfo.style.display = DisplayStyle.Flex;