diff --git a/src/modules/fancyzones/editor/FancyZonesEditor/GridEditor.xaml.cs b/src/modules/fancyzones/editor/FancyZonesEditor/GridEditor.xaml.cs index ef786169ba..29b37a02cb 100644 --- a/src/modules/fancyzones/editor/FancyZonesEditor/GridEditor.xaml.cs +++ b/src/modules/fancyzones/editor/FancyZonesEditor/GridEditor.xaml.cs @@ -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; } }