Skip to content

🐞 Fix window moving off-screen#567

Merged
mrkai77 merged 1 commit into
mrkai77:developfrom
T1mVo:window-movement-fix
Sep 26, 2024
Merged

🐞 Fix window moving off-screen#567
mrkai77 merged 1 commit into
mrkai77:developfrom
T1mVo:window-movement-fix

Conversation

@T1mVo
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Contributor Author

T1mVo commented Sep 22, 2024

This is ready for review.

Copy link
Copy Markdown
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
@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