Skip to content

Commit

Permalink
Fix map grid decoration bottom vertical label
Browse files Browse the repository at this point in the history
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 c33a3c0 commit 33d0775
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/decorations/qgsdecorationgrid.cpp
Expand Up @@ -363,7 +363,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 33d0775

Please sign in to comment.