Browse Source

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
6.0.7
Seth Hillbrand 4 years ago
parent
commit
09e1a0dc48
  1. 2
      common/view/view.cpp
  2. 6
      include/zoom_defines.h

2
common/view/view.cpp

@ -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 ),

6
include/zoom_defines.h

@ -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_MIN_LIMIT_PCBNEW 0.1
#define ZOOM_MAX_LIMIT_PCBNEW 50000
#define ZOOM_MIN_LIMIT_PCBNEW 0.1
Loading…
Cancel
Save