Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug Fix for #713 #742

Merged
merged 1 commit into from
Feb 3, 2022
Merged

Bug Fix for #713 #742

merged 1 commit into from
Feb 3, 2022

Conversation

hsingireddy
Copy link

@hsingireddy hsingireddy commented Feb 2, 2022

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.

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 rxhanson merged commit d5197fd into rxhanson:master Feb 3, 2022
@rxhanson
Copy link
Owner

rxhanson commented Feb 3, 2022

Thanks!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants