Eeschema: better limit for zoom out level
Fixes: lp:1797995 https://bugs.launchpad.net/kicad/+bug/1797995
This commit is contained in:
parent
d62145fba9
commit
7c960aa5fe
|
@ -84,7 +84,7 @@ SCH_DRAW_PANEL::SCH_DRAW_PANEL( wxWindow* aParentWindow, wxWindowID aWindowId,
|
||||||
m_painter.reset( new KIGFX::SCH_PAINTER( m_gal ) );
|
m_painter.reset( new KIGFX::SCH_PAINTER( m_gal ) );
|
||||||
|
|
||||||
m_view->SetPainter( m_painter.get() );
|
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 );
|
m_view->SetMirror( false, false );
|
||||||
|
|
||||||
setDefaultLayerOrder();
|
setDefaultLayerOrder();
|
||||||
|
|
Loading…
Reference in New Issue