From 2c1ffde3ed930cc4accdc0b2cb3da1e8092b0d56 Mon Sep 17 00:00:00 2001 From: Clint Rutkas Date: Fri, 20 Dec 2019 14:53:56 -0800 Subject: [PATCH] fix for #923 --- .../fancyzones/editor/FancyZonesEditor/GridEditor.xaml.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; } }