We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent 9d18220 commit f9b15d3Copy full SHA for f9b15d3
src/gui/qgscomposerview.cpp
@@ -1399,6 +1399,15 @@ void QgsComposerView::keyPressEvent( QKeyEvent * e )
1399
//holding shift while pressing cursor keys results in a big step
1400
increment = 10.0;
1401
}
1402
+ else if ( e->modifiers() & Qt::AltModifier )
1403
+ {
1404
+ //holding alt while pressing cursor keys results in a 1 pixel step
1405
+ double viewScale = transform().m11();
1406
+ if ( viewScale > 0 )
1407
1408
+ increment = 1 / viewScale;
1409
+ }
1410
1411
1412
if ( e->key() == Qt::Key_Left )
1413
{
0 commit comments