Skip to content

Commit f355239

Browse files
committed
Fixing compilation conditionals
1 parent 0fb15b8 commit f355239

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

components/LayoutTransformControl/src/LayoutTransformControl.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,9 @@ private Matrix GetTransformMatrix(Transform transform)
156156

157157
if (transformGroup != null)
158158
{
159-
#if HAS_UNO
159+
#if WINUI3
160+
var groupMatrix = Microsoft.UI.Xaml.Media.Matrix.Identity;
161+
#elif WINUI2
160162
var groupMatrix = Windows.UI.Xaml.Media.Matrix.Identity;
161163
#else
162164
var groupMatrix = Matrix.Identity;

0 commit comments

Comments
 (0)