Skip to content
Permalink
Browse files

[composer] Decrease default snap tolerance to 5 pixels

  • Loading branch information
nyalldawson committed Jul 30, 2014
1 parent d8087cd commit 4995305adc7001f28f49416e4c17dfa21425ec6b
Showing with 2 additions and 2 deletions.
  1. +1 −1 src/app/qgsoptions.cpp
  2. +1 −1 src/core/composer/qgscomposition.cpp
@@ -725,7 +725,7 @@ QgsOptions::QgsOptions( QWidget *parent, Qt::WindowFlags fl ) :

//grid and guide defaults
mGridResolutionSpinBox->setValue( settings.value( "/Composer/defaultSnapGridResolution", 10.0 ).toDouble() );
mSnapToleranceSpinBox->setValue( settings.value( "/Composer/defaultSnapTolerancePixels", 10 ).toInt() );
mSnapToleranceSpinBox->setValue( settings.value( "/Composer/defaultSnapTolerancePixels", 5 ).toInt() );
mOffsetXSpinBox->setValue( settings.value( "/Composer/defaultSnapGridOffsetX", 0 ).toDouble() );
mOffsetYSpinBox->setValue( settings.value( "/Composer/defaultSnapGridOffsetY", 0 ).toDouble() );

@@ -213,7 +213,7 @@ void QgsComposition::loadDefaults()
mSnapGridResolution = settings.value( "/Composer/defaultSnapGridResolution", 10.0 ).toDouble();
mSnapGridOffsetX = settings.value( "/Composer/defaultSnapGridOffsetX", 0 ).toDouble();
mSnapGridOffsetY = settings.value( "/Composer/defaultSnapGridOffsetY", 0 ).toDouble();
mSnapTolerance = settings.value( "/Composer/defaultSnapTolerancePixels", 10 ).toInt();
mSnapTolerance = settings.value( "/Composer/defaultSnapTolerancePixels", 5 ).toInt();
}

void QgsComposition::updateBounds()

0 comments on commit 4995305

Please sign in to comment.
You can’t perform that action at this time.