Skip to content

Commit fcd9a3b

Browse files
committed
Fixed fliped width and height
1 parent b305088 commit fcd9a3b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Microsoft.Toolkit.Uwp.UI.Controls/TileControl/TileControl.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -461,9 +461,9 @@ private void CreateModuloExpression(ScrollViewer scrollViewer, double imageWidth
461461
var expressionY = compositor.CreateExpressionAnimation();
462462

463463
var propertySetModulo = compositor.CreatePropertySet();
464-
propertySetModulo.InsertScalar(imageHeightParam, (float)imageWidth);
464+
propertySetModulo.InsertScalar(imageWidthParam, (float)imageWidth);
465465
propertySetModulo.InsertScalar(offsetXParam, (float)OffsetX);
466-
propertySetModulo.InsertScalar(imageWidthParam, (float)imageHeight);
466+
propertySetModulo.InsertScalar(imageHeightParam, (float)imageHeight);
467467
propertySetModulo.InsertScalar(offsetYParam, (float)OffsetY);
468468
propertySetModulo.InsertScalar(speedParam, (float)ParallaxSpeedRatio);
469469

0 commit comments

Comments
 (0)