Skip to content

Commit

Permalink
Fix width of line decoration (ticket #7410)
Browse files Browse the repository at this point in the history
  • Loading branch information
mhugent committed May 25, 2013
1 parent be94703 commit 2e89e25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/symbology-ng/qgslinesymbollayerv2.cpp
Expand Up @@ -1087,7 +1087,7 @@ void QgsLineDecorationSymbolLayerV2::startRender( QgsSymbolV2RenderContext& cont
penColor.setAlphaF( mColor.alphaF() * context.alpha() );

double width = mWidth * QgsSymbolLayerV2Utils::lineWidthScaleFactor( context.renderContext(), mWidthUnit );
mPen.setWidth( context.outputLineWidth( width ) );
mPen.setWidth( width );
mPen.setColor( penColor );
QColor selColor = context.renderContext().selectionColor();
if ( ! selectionIsOpaque )
Expand Down

0 comments on commit 2e89e25

Please sign in to comment.