Skip to content

Commit

Permalink
[composer] Prevent overlap of vertical ruler markings
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Dec 29, 2013
1 parent 53c654f commit 37b48bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/qgscomposerruler.cpp
Expand Up @@ -124,7 +124,7 @@ void QgsComposerRuler::paintEvent( QPaintEvent* event )

if ( startY < 0 )
{
double beforePageCoord = 0;
double beforePageCoord = -mmDisplay;
double firstPageY = mTransform.map( QPointF( 0, 0 ) ).y();

//draw negative rulers which fall before first page
Expand Down

0 comments on commit 37b48bd

Please sign in to comment.