Increase maximum zoom for pcbnew and gerbview

Zoom levels remain the same but high zooms reachable by mouse wheel

Fixes https://gitlab.com/kicad/code/kicad/issues/7093
This commit is contained in:
Seth Hillbrand 2021-06-11 14:25:33 -07:00
parent 3644224cb6
commit 09e1a0dc48
2 changed files with 4 additions and 4 deletions

View File

@ -263,7 +263,7 @@ void VIEW::OnDestroy( VIEW_ITEM* aItem )
VIEW::VIEW( bool aIsDynamic ) :
m_enableOrderModifier( true ),
m_scale( 4.0 ),
m_minScale( 0.2 ), m_maxScale( 5000.0 ),
m_minScale( 0.2 ), m_maxScale( 50000.0 ),
m_mirrorX( false ), m_mirrorY( false ),
m_painter( NULL ),
m_gal( NULL ),

View File

@ -55,9 +55,9 @@
#define ZOOM_MIN_LIMIT_PLEDITOR 0.05
// Scale limits for zoom for gerbview
#define ZOOM_MAX_LIMIT_GERBVIEW 220
#define ZOOM_MAX_LIMIT_GERBVIEW 5000
#define ZOOM_MIN_LIMIT_GERBVIEW 0.02
// Scale limits for zoom (especially mouse wheel) for Pcbnew
#define ZOOM_MAX_LIMIT_PCBNEW 5000
#define ZOOM_MAX_LIMIT_PCBNEW 50000
#define ZOOM_MIN_LIMIT_PCBNEW 0.1