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 github-actions[bot] committed Oct 6, 2021
1 parent e4feeaa commit c29223a
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 c29223a

Please sign in to comment.