Skip to content

Commit

Permalink
revert bad patch (placement)
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed Aug 9, 2012
1 parent 79d537a commit 20f97d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/qgsdiagram.cpp
Expand Up @@ -293,8 +293,8 @@ void QgsPieDiagram::renderDiagram( const QgsAttributeMap& att, QgsRenderContext&
double w = spu.width();
double h = spu.height();

double baseX = position.x() - w / 2;
double baseY = position.y() - h / 2;
double baseX = position.x();
double baseY = position.y() - h;

mPen.setColor( s.penColor );
setPenWidth( mPen, s, c );
Expand Down

0 comments on commit 20f97d2

Please sign in to comment.