Unset colors are now parsed correctly, color properties have optional colors

This commit is contained in:
Daniel Cronqvist 2024-11-21 20:55:51 +01:00
parent 6deb28c1ce
commit 94c1ac0f32
8 changed files with 16 additions and 7 deletions

View file

@ -57,7 +57,8 @@ public partial class TestData
new FloatProperty { Name = "floatprop", Value = 4.2f },
new IntProperty { Name = "intprop", Value = 8 },
new ObjectProperty { Name = "objectprop", Value = 5 },
new StringProperty { Name = "stringprop", Value = "This is a string, hello world!" }
new StringProperty { Name = "stringprop", Value = "This is a string, hello world!" },
new ColorProperty { Name = "unsetcolorprop", Value = Optional<Color>.Empty }
]
};
}