rxhanson / Rectangle

Move and resize windows on macOS with keyboard shortcuts and snap areas
https://rectangleapp.com
Other
25.91k stars 778 forks source link

Bug Fix for #713 #742

Closed hsingireddy closed 2 years ago

hsingireddy commented 2 years ago

Rectangle Version 0.50 (55) Fix for #713

Application windows now consider the dock positition and will not be placed underneath the dock

  1. todoWindow uses the adjustedVisibleFrame(which uses visibleFrame). When the dock is set to the right side, todoWindow will now placed next to it rather than under it
  2. adjustedVisibleFrame is now used to calculate the positions for all non-todo application windows.
  3. Changed the following in the shiftWindowOffSidebar function a. Uses adjustedVisibleFrame instead of screenFrame. Helps when dock is placed on the left side b. Handles an edge case where an application window is already placed at left edge or even further left. Origin X will be its current x in this case c. The condition for checking if the application window is too wide. It now considers the edge case above.
rxhanson commented 2 years ago

Thanks!!