Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Fix cursor jumping after modifier-dragging in dual-screen setup #7846

Merged
merged 1 commit into from
Jan 25, 2017

Conversation

1ec5
Copy link
Contributor

@1ec5 1ec5 commented Jan 25, 2017

When converting from view coordinates to screen coordinates, use the screen containing the window, which may not be the screen with keyboard focus (if ⌃ is also held down).

This fixes an issue where the mouse cursor jumped after shift- or option-dragging a map view if the window opened on a screen with a different size than the screen with keyboard focus.

/ref #7819

Fixed an issue causing the mouse cursor to jump after shift- or option-dragging a map view if the window opened on a screen with a different size than the screen with keyboard focus.
@1ec5 1ec5 added bug macOS Mapbox Maps SDK for macOS labels Jan 25, 2017
@1ec5 1ec5 added this to the macos-v0.3.1 milestone Jan 25, 2017
@1ec5 1ec5 self-assigned this Jan 25, 2017
@1ec5 1ec5 requested a review from friedbunny January 25, 2017 08:20
@mention-bot
Copy link

@1ec5, thanks for your PR! By analyzing this pull request, we identified @jfirebaugh, @boundsj and @friedbunny to be potential reviewers.

@1ec5 1ec5 merged commit 1b6a4c6 into release-ios-v3.4.0 Jan 25, 2017
@1ec5 1ec5 deleted the 1ec5-screen-window branch January 25, 2017 21:33
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug macOS Mapbox Maps SDK for macOS
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants