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

fix wrong positioning of tooltip when PP is running on secondary screen, fixes #3622 #3628

Conversation

OnkelDok
Copy link
Member

@OnkelDok OnkelDok commented Nov 3, 2023

fixes #3622

Setting y to PADDING when y (int y = pt.y - size.y - PADDING;) was smaller results in tooltip beeing displayed on primary screen when PP was running on secondary screen (vertically arranged, primary bottom, secondary above). Because pt.y is negative when the mouse is on secondary screen, this condition always set y to PADDING and the tooltip is always on top of primary screen.

@buchen
Copy link
Member

buchen commented Nov 4, 2023

merged

@buchen buchen closed this Nov 4, 2023
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.

No tooltips on exernal monitor
2 participants