Skip to content

Commit 354a7bf

Browse files
committed
More precise param name
1 parent dd8d11d commit 354a7bf

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
@@ -500,8 +500,8 @@ string Thing(string common, string dimension)
500500
expressionX.SetReferenceParameter(scrollParam, scrollProperties);
501501
expressionY.SetReferenceParameter(scrollParam, scrollProperties);
502502

503-
string LocalThing(string scroll, string speed, string offset, string dimension)
504-
=> Thing(string.Format("Ceil(({0} * {1}) + {2})", scroll, speed, offset), dimension);
503+
string LocalThing(string scrollTranslation, string speed, string offset, string dimension)
504+
=> Thing(string.Format("Ceil(({0} * {1}) + {2})", scrollTranslation, speed, offset), dimension);
505505

506506
expressionXVal = LocalThing(translationParam + "." + nameof(scrollViewer.Translation.X), qualifiedSpeedParam, qualifiedOffsetXParam, qualifiedImageWidthParam);
507507

0 commit comments

Comments
 (0)