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

Update MapBox.cs fixed Shift+Zoom issue when Pan is ActiveTool #1

Merged
merged 1 commit into from Jun 28, 2017

Conversation

AleksandarDev
Copy link
Member

Fixed the issue when using ZoomWindow.

The issue is that, when the ActiveTool is Pan but we decided to apply ToolWindow zoom transform (because Shift modifier is active), _dragEndPoint was not set in MouseMove method (because we are in Pan mode).

To fix the problem, mouse event position is used as end point (as in other tools) when mouse click is released.

@AleksandarDev
Copy link
Member Author

Waiting for SharpMap#41

@AleksandarDev AleksandarDev merged commit 172c53f into Branches/1.0 Jun 28, 2017
@AleksandarDev AleksandarDev deleted the shiftzoom-fix branch June 28, 2017 07:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant