Fix editing InputEvent that is null

This commit is contained in:
2025-10-30 11:57:47 +01:00
parent 0913e6f738
commit b5de4d78ad
@@ -47,6 +47,8 @@ namespace FlaxEditor.CustomEditors.Editors
return inputEvent;
if (Values[0] is string str)
return str;
if (Values.Type.Type == typeof(InputEvent))
return new InputEvent();
if (Values.Type.Type == typeof(string))
return string.Empty;
return null;