Fix for cases when structs return null (due to null declaring instance)

This commit is contained in:
sinaioutlander committed 2020-09-20 20:26:05 +10:00
1 parent 3639824df3
commit 04248a89ce
5 files changed
+22 -14

No files matched your search

+2
View File
@@ -21,6 +21,8 @@ namespace Explorer
{
base.UpdateValue();
if (Value == null) return;
var rect = (Rect)Value;
x = rect.x.ToString();