This commit is contained in:
Clint Rutkas 2019-12-20 14:53:56 -08:00
parent 5e2f681761
commit 2c1ffde3ed

View File

@ -608,7 +608,7 @@ namespace FancyZonesEditor
int pointsIndex = 0;
for (int walk = row; walk < maxRow; walk++)
{
zone.HorizontalSnapPoints[pointsIndex++] = _rowInfo[walk].End + spacing / 2 - top;
zone.HorizontalSnapPoints[pointsIndex++] = _rowInfo[walk].End + (spacing / 2) - top;
}
}
@ -625,7 +625,7 @@ namespace FancyZonesEditor
int pointsIndex = 0;
for (int walk = col; walk < maxCol; walk++)
{
zone.VerticalSnapPoints[pointsIndex++] = _colInfo[walk].End + spacing / 2 - left;
zone.VerticalSnapPoints[pointsIndex++] = _colInfo[walk].End + (spacing / 2) - left;
}
}