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

Mac: Use current event window when calling PointToScreen if needed #2572

Merged

Conversation

cwensley
Copy link
Member

@cwensley cwensley commented Nov 1, 2023

If you have a drag loop which then removes the control you are dragging, it could cause the PointToScreen calls to invert the y axis and report the wrong location. Now we fallback to the current event's window if one exists so we can properly translate the coordinates.

@cwensley cwensley added the bug label Nov 1, 2023
@cwensley cwensley added this to the 2.8.2 milestone Nov 1, 2023
@cwensley cwensley merged commit ed36184 into picoe:develop Nov 1, 2023
3 checks passed
@cwensley cwensley deleted the curtis/mac-use-current-event-window branch November 1, 2023 20:09
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.

1 participant