Eeschema: better limit for zoom out level

Fixes: lp:1797995
https://bugs.launchpad.net/kicad/+bug/1797995
This commit is contained in:
jean-pierre charras 2018-10-16 09:25:00 +02:00
parent d62145fba9
commit 7c960aa5fe
1 changed files with 1 additions and 1 deletions

View File

@ -84,7 +84,7 @@ SCH_DRAW_PANEL::SCH_DRAW_PANEL( wxWindow* aParentWindow, wxWindowID aWindowId,
m_painter.reset( new KIGFX::SCH_PAINTER( m_gal ) );
m_view->SetPainter( m_painter.get() );
m_view->SetScaleLimits( 2000.0, 0.002 );
m_view->SetScaleLimits( 2000.0, 1.0 ); // This fixes the zoom in and zoom out limits
m_view->SetMirror( false, false );
setDefaultLayerOrder();