Lottie-Windows
Lottie-Windows copied to clipboard
GenerateDependencyObject bug
.\LottieGen.exe -Language cs -GenerateColorBindings -GenerateDependencyObject -WinUIVersion 2.7 -OutputFolder output\ -InputFile
when -GenerateDependencyObject
is set, public void SetColorProperty(string propertyName, Color value)
is not right.
Have you tried -WinUIVersuin 2.6
? There could be a bug with 2.7 version in LottieGen, I will take a look.
Have you tried -WinUIVersuin 2.6?
No, please fix it.
Confirmed the issue is still there when running with WinUI version 2.6, 2.7, or 2.8. The workaround is easy, just remove the _theme
prefix. For example, _themeColor_XXXXXX
should be renamed to Color_XXXXXX
.
Fixed in #548