Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix map grid decoration bottom vertical label
Fixes the position of the bottom vertical label of a map grid decoration when a non zero "Distance to map frame" is set
  • Loading branch information
agiudiceandrea authored and nyalldawson committed Oct 6, 2021
1 parent e4feeaa commit 53ccb9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/decorations/qgsdecorationgrid.cpp
Expand Up @@ -361,7 +361,7 @@ void QgsDecorationGrid::drawCoordinateAnnotation( QgsRenderContext &context, QPo
else //Vertical
{
xpos -= textDescent;
ypos -= textWidth - mAnnotationFrameDistance;
ypos -= textWidth + mAnnotationFrameDistance;
rotation = 4.71239;
}
break;
Expand Down

0 comments on commit 53ccb9f

Please sign in to comment.