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

✨ Add horizontal/vertical center half #577

Merged
merged 3 commits into from
Oct 1, 2024

Conversation

ShawnZhong
Copy link
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
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
Contributor Author

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

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.

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

@MrKai77 MrKai77 merged commit 6320ea1 into MrKai77:develop Oct 1, 2024
1 check passed
@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