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 for Aspect Ratio Support in ZoomTool #132

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mik854e
Copy link

@mik854e mik854e commented Jul 11, 2013

Aspect ratio was not honored if mouse pointer moved away from the square selection corner. The removed line allowed any ROI to be selected outside of the region that was highlighted.

Now, the zoom is set to the highlighted region no matter where the mouse is unclicked.

Aspect ratio was not honored if mouse pointer moved away from
a square selection corner.  The removed line gets executed
in the caller for selection with no aspect ratio.
@jonathanrocher
Copy link
Collaborator

@mik854e Apologies for the delay in reviewing your PR. Could you add more details about the issue that this is fixing (ideally with sample code and/or a unit test)? Thanks much.

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.

2 participants