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 Nov 1, 2021
1 parent 6603cb6 commit bc00191
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 bc00191

Please sign in to comment.