From fe491ea40299efaffcb43218731097d29ff3b459 Mon Sep 17 00:00:00 2001 From: Michael Higgins Date: Tue, 2 Feb 2021 12:37:14 -0500 Subject: [PATCH] Update Program.cs tweak comment --- CenterTaskbar/Program.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CenterTaskbar/Program.cs b/CenterTaskbar/Program.cs index 9bf93db..bd30857 100644 --- a/CenterTaskbar/Program.cs +++ b/CenterTaskbar/Program.cs @@ -401,7 +401,6 @@ private bool PositionLoop(AutomationElement trayWnd) return false; } - // Right bounds check int rightBounds; int leftBounds; try @@ -414,7 +413,8 @@ private bool PositionLoop(AutomationElement trayWnd) Reset(trayWnd); return true; } - + + // Right bounds check if (targetPos + size > rightBounds) { // Shift off center when the bar is too big