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

🐞 Fix window moving off-screen #567

Merged
merged 1 commit into from
Sep 26, 2024

Conversation

T1mVo
Copy link
Contributor

@T1mVo T1mVo commented Sep 22, 2024

This commit fixes windows being moved off-screen via the keyboard shortcut when padding and animation are enabled.

The bug was caused by applying padding to a zero sized screenFrame. The bounds check in the animation would then fail.

Further explanation here.

This commit fixes windows being moved off-screen via the keyboard
shortcut when padding and animation are enabled.

The bug was caused by applying padding to a zero sized screenFrame.
The bounds check in the animation would then fail.
@MrKai77
Copy link
Owner

MrKai77 commented Sep 22, 2024

Thank you! Is the comment have written here also something you plan to fix in this PR, or is this ready for review?

@T1mVo
Copy link
Contributor Author

T1mVo commented Sep 22, 2024

This is ready for review.

Copy link
Owner

@MrKai77 MrKai77 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good and makes sense, thanks!

@MrKai77 MrKai77 merged commit 5989b92 into MrKai77:develop Sep 26, 2024
1 check passed
@T1mVo T1mVo deleted the window-movement-fix branch September 27, 2024 14:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants