Commit 997b6e95 authored by Otmane Lahlou's avatar Otmane Lahlou
Browse files

ENH: upper limit for zoom is not used anymore

parent 8cca80f7
...@@ -250,7 +250,7 @@ void ...@@ -250,7 +250,7 @@ void
ImageViewManipulator ImageViewManipulator
::CenterRegion(double scale) ::CenterRegion(double scale)
{ {
if( m_IsotropicZoom * scale > 0.01 && m_IsotropicZoom * scale < 10.) if( m_IsotropicZoom * scale > 0.001 )
{ {
// The viewPort Region must be adapted to this zoom ratio // The viewPort Region must be adapted to this zoom ratio
ImageRegionType & currentRegion = m_NavigationContext.m_ViewportImageRegion; ImageRegionType & currentRegion = m_NavigationContext.m_ViewportImageRegion;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment