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

Make AClock recalculate canvas on screen change #297

Merged
merged 1 commit into from
Aug 7, 2024

Conversation

vhata
Copy link
Contributor

@vhata vhata commented May 6, 2023

AClock tries to display the clock in the center of the screen, but if monitors are plugged in, or the resolution changes, this calculation is no longer correct.

This PR adds a screen watcher to recalculate the frame when the displays change.

@cmsj cmsj closed this Aug 7, 2024
@cmsj cmsj reopened this Aug 7, 2024
@cmsj cmsj merged commit ea1f07a into Hammerspoon:master Aug 7, 2024
1 check passed
@vhata vhata deleted the aclock-responsive branch August 8, 2024 06:52
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