Skip to content
Permalink
Browse files

[decorations] Fix scale bar color not applied to division ticks

  • Loading branch information
github-actions authored and nyalldawson committed Jul 23, 2020
1 parent 82f4d26 commit a761eac9874f88c7a87262467435cb9eca44d8e8
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/app/decorations/qgsdecorationscalebar.cpp
@@ -168,7 +168,8 @@ void QgsDecorationScaleBar::setupScaleBar()
lineSymbol->setColor( mColor ); // Compatibility with pre 3.2 configuration
lineSymbol->setWidth( 0.3 );
lineSymbol->setOutputUnit( QgsUnitTypes::RenderMillimeters );
mSettings.setLineSymbol( lineSymbol.release() );
mSettings.setLineSymbol( lineSymbol->clone() );
mSettings.setDivisionLineSymbol( lineSymbol.release() );
mSettings.setHeight( 2.2 );
break;
}

0 comments on commit a761eac

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