mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-09 12:46:47 +02:00
spelling: source
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
This commit is contained in:
@@ -370,24 +370,24 @@ namespace FancyZonesEditor
|
|||||||
|
|
||||||
if (delta > 0)
|
if (delta > 0)
|
||||||
{
|
{
|
||||||
int sourcRow = 0;
|
int sourceRow = 0;
|
||||||
for (int row = 0; row < rows; row++)
|
for (int row = 0; row < rows; row++)
|
||||||
{
|
{
|
||||||
for (int col = 0; col < cols; col++)
|
for (int col = 0; col < cols; col++)
|
||||||
{
|
{
|
||||||
if (row == draggedResizerStartRow + 1 && (col < resizer.StartCol || col >= resizer.EndCol))
|
if (row == draggedResizerStartRow + 1 && (col < resizer.StartCol || col >= resizer.EndCol))
|
||||||
{
|
{
|
||||||
newCellChildMap[row, col] = cellChildMap[sourcRow + 1, col];
|
newCellChildMap[row, col] = cellChildMap[sourceRow + 1, col];
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
newCellChildMap[row, col] = cellChildMap[sourcRow, col];
|
newCellChildMap[row, col] = cellChildMap[sourceRow, col];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (row != draggedResizerStartRow)
|
if (row != draggedResizerStartRow)
|
||||||
{
|
{
|
||||||
sourcRow++;
|
sourceRow++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user