Skip to content
This repository has been archived by the owner on Jan 24, 2022. It is now read-only.

Commit

Permalink
Update Program.cs
Browse files Browse the repository at this point in the history
tweak comment
  • Loading branch information
Michael Higgins committed Feb 2, 2021
1 parent a2be258 commit fe491ea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CenterTaskbar/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,6 @@ private bool PositionLoop(AutomationElement trayWnd)
return false;
}

// Right bounds check
int rightBounds;
int leftBounds;
try
Expand All @@ -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
Expand Down

0 comments on commit fe491ea

Please sign in to comment.