Fix bug where combining of strokes could fail during translation. (#184)
We were correctly recognizing that we couldn't compose strokes of different kinds, but then we tried to compose them anyway which would result in a failed cast.
This commit is contained in:
Родитель
94fc21cd83
Коммит
be3ca7c5b7
|
@ -1400,6 +1400,7 @@ namespace Microsoft.Toolkit.Uwp.UI.Lottie.LottieToWinComp
|
|||
if (a.StrokeKind != b.StrokeKind)
|
||||
{
|
||||
_owner._issues.MultipleStrokesIsNotSupported();
|
||||
return b;
|
||||
}
|
||||
|
||||
switch (a.StrokeKind)
|
||||
|
|
Загрузка…
Ссылка в новой задаче