Skip to content

Commit 06b13c2

Browse files
committed
Fixed fill loop in UniformGrid
1 parent d7c3906 commit 06b13c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Microsoft.Toolkit.Uwp.UI.Controls/UniformGrid/TakenSpotsReferenceHolder.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ public void Fill(bool value, int row, int column, int width, int height)
7777

7878
for (int i = bounds.Top; i < bounds.Bottom; i++)
7979
{
80-
for (int j = 0; j < bounds.Width; j++)
80+
for (int j = bounds.Left; j < bounds.Right; j++)
8181
{
8282
this[i, j] = value;
8383
}

0 commit comments

Comments
 (0)