Skip to content

Commit 60a2c6b

Browse files
committed
Fixed build issue
1 parent 80a567e commit 60a2c6b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

source/LottieToWinComp/ShapeLayerContext.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
// See the LICENSE file in the project root for more information.
44

55
using Microsoft.Toolkit.Uwp.UI.Lottie.LottieData;
6+
using Microsoft.Toolkit.Uwp.UI.Lottie.WinCompData.Expressions;
67
using Sn = System.Numerics;
78

89
namespace Microsoft.Toolkit.Uwp.UI.Lottie.LottieToWinComp
@@ -47,7 +48,7 @@ public OriginOffsetContainer(RectangleOrRoundedRectangleGeometry geometry, Sn.Ve
4748
{
4849
IsAnimated = false;
4950
Geometry = geometry;
50-
OffsetExpression = new WinCompData.Expressions.Vector2.Constructed(value.X, value.Y);
51+
OffsetExpression = Expression.Vector2(value.X, value.Y);
5152
OffsetValue = value;
5253
}
5354
}

0 commit comments

Comments
 (0)