chaco
chaco copied to clipboard
Fix for Aspect Ratio Support in ZoomTool
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.
@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.