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

Wpf: Fix PointToScreen/PointFromScreen in system dpi aware mode #2336

Merged

Conversation

cwensley
Copy link
Member

When you call PointToScreen/PointFromScreen on a control with a location that is offset from its root visual it would return the incorrect screen coordinates by the difference of the system dpi vs. the screen's actual dpi. The ScreenSection was updated to verify the mouse position and the PointToScreen/PointFromScreen APIs when the window is dragged to another screen.

@cwensley cwensley added the bug label Oct 18, 2022
@cwensley cwensley added this to the 2.7.2 milestone Oct 18, 2022
@cwensley cwensley merged commit 8b9f246 into picoe:develop Oct 18, 2022
@cwensley cwensley deleted the curtis/fix-system-dpi-pointtofromscreen branch October 18, 2022 16:57
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