Skip to content
Permalink
Browse files
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 Nov 1, 2021
1 parent 6603cb6 commit bc00191d6ab356db8ecb86ef681163afc41b76bf
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/app/decorations/qgsdecorationgrid.cpp
@@ -361,7 +361,7 @@ void QgsDecorationGrid::drawCoordinateAnnotation( QgsRenderContext &context, QPo
else //Vertical
{
xpos -= textDescent;
ypos -= textWidth - mAnnotationFrameDistance;
ypos -= textWidth + mAnnotationFrameDistance;
rotation = 4.71239;
}
break;

0 comments on commit bc00191

Please sign in to comment.