Skip to content
Permalink
Browse files

Fix width of line decoration (ticket #7410)

  • Loading branch information
mhugent committed May 25, 2013
1 parent be94703 commit 2e89e25eda743f96a4ca0abdb920e1b9a6e85ecc
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/symbology-ng/qgslinesymbollayerv2.cpp
@@ -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 )

0 comments on commit 2e89e25

Please sign in to comment.
You can’t perform that action at this time.