mirror of
https://github.com/microsoft/PowerToys.git
synced 2024-12-05 04:39:08 +08:00
fix for #923
This commit is contained in:
parent
5e2f681761
commit
2c1ffde3ed
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user