Skip to content

Commit 3d4be7f

Browse files
committed
Fixing compilation conditionals
1 parent f355239 commit 3d4be7f

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
@@ -212,7 +212,9 @@ private Matrix GetTransformMatrix(Transform transform)
212212
}
213213

214214
// Fall back to no-op transformation
215-
#if HAS_UNO
215+
#if WINUI3
216+
return Microsoft.UI.Xaml.Media.Matrix.Identity;
217+
#elif WINUI2
216218
return Windows.UI.Xaml.Media.Matrix.Identity;
217219
#else
218220
return Matrix.Identity;

0 commit comments

Comments
 (0)