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

Automatic repositioning of the tray context menu #86

Merged
merged 2 commits into from Apr 6, 2020

Conversation

dannoe
Copy link
Contributor

@dannoe dannoe commented Apr 5, 2020

This PR fixes #61

  • Calculating the correct position based on the current mouse position.
  • Default opening direction is top-left.
  • Added unit tests

@dannoe dannoe changed the title Automatic repositioning of the tray context menu. Automatic repositioning of the tray context menu Apr 5, 2020
@robinvanpoppel
Copy link
Collaborator

Checked it out locally and for me this works nicely. I also like that you added unit tests for a lot of cases.

@robinvanpoppel robinvanpoppel merged commit c4b54a2 into KeeTrayTOTP:master Apr 6, 2020
@dannoe dannoe deleted the fix-61 branch April 6, 2020 06:40
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.

Switching databases messes up tray popup position
2 participants