Skip to content

✨ Add horizontal/vertical center half#577

Merged
mrkai77 merged 3 commits into
mrkai77:developfrom
ShawnZhong:center-half
Oct 1, 2024
Merged

✨ Add horizontal/vertical center half#577
mrkai77 merged 3 commits into
mrkai77:developfrom
ShawnZhong:center-half

Conversation

@ShawnZhong
Copy link
Copy Markdown
Contributor

@ShawnZhong ShawnZhong commented Sep 28, 2024

Add support for horizontal/vertical center half:

image

This matches center half in Recangle:
https://github.com/rxhanson/Rectangle/blob/309359b0e884580b45d64ea09def09e00e48b9e8/Rectangle/WindowAction.swift#L178

I have never contributed to any Swift/ObjC projects before. Please let me know if there are any things I missed.

@mrkai77
Copy link
Copy Markdown
Owner

mrkai77 commented Sep 30, 2024

Hey @ShawnZhong, thanks for the PR, it looks great! When you're ready for us to take a look, please request a review :)

@ShawnZhong
Copy link
Copy Markdown
Contributor Author

This PR is ready for review. Please let me know if anything can be improved.

Comment thread Loop/Window Management/WindowDirection.swift Outdated
@ShawnZhong ShawnZhong requested a review from mrkai77 October 1, 2024 08:32
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.

Just tested locally, works great :)
Thank you so much!

@mrkai77 mrkai77 merged commit 6320ea1 into mrkai77:develop Oct 1, 2024
@ShawnZhong ShawnZhong deleted the center-half branch October 1, 2024 22:06
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