Skip to content
Permalink
Browse files

[symbology] Fix stroke-only ellipse markers not reflecting selected s…

…tate
  • Loading branch information
nirvn committed Mar 18, 2021
1 parent 6d64fab commit e87b1ac8cc946f83ae1287d25de80338cbe13fdd
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/symbology/qgsellipsesymbollayer.cpp
@@ -368,7 +368,7 @@ void QgsEllipseSymbolLayer::startRender( QgsSymbolRenderContext &context )
selPenColor.setAlphaF( context.opacity() );
}
mSelBrush = QBrush( selBrushColor );
mSelPen = QPen( selPenColor );
mSelPen = QPen( !shapeIsFilled( mSymbolName ) ? selBrushColor : selPenColor );
mSelPen.setStyle( mStrokeStyle );
mSelPen.setWidthF( context.renderContext().convertToPainterUnits( mStrokeWidth, mStrokeWidthUnit, mStrokeWidthMapUnitScale ) );
}

0 comments on commit e87b1ac

Please sign in to comment.