Fix EnumComboBox to support negative items as a cost of lack of uint64 support

This commit is contained in:
Wojtek Figat
2021-05-02 12:04:14 +02:00
parent 05c6a2214b
commit 28969a7de4
2 changed files with 10 additions and 10 deletions

View File

@@ -32,7 +32,7 @@ namespace FlaxEditor.Surface.Elements
Width = archetype.Size.X;
ParentNode = parentNode;
Archetype = archetype;
Value = (ulong)(int)ParentNode.Values[Archetype.ValueIndex];
Value = (int)ParentNode.Values[Archetype.ValueIndex];
}
/// <inheritdoc />