Skip to content

Commit 37b48bd

Browse files
committed
[composer] Prevent overlap of vertical ruler markings
1 parent 53c654f commit 37b48bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/gui/qgscomposerruler.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ void QgsComposerRuler::paintEvent( QPaintEvent* event )
124124

125125
if ( startY < 0 )
126126
{
127-
double beforePageCoord = 0;
127+
double beforePageCoord = -mmDisplay;
128128
double firstPageY = mTransform.map( QPointF( 0, 0 ) ).y();
129129

130130
//draw negative rulers which fall before first page

0 commit comments

Comments
 (0)