mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#6514 Dark Theme : Refactor use of black
This commit is contained in:
committed by
Gaute Lindkvist
parent
9bbbfc5088
commit
0b44f6ab18
@@ -26,6 +26,7 @@
|
||||
#include "RimPlot.h"
|
||||
|
||||
#include "RiuDraggableOverlayFrame.h"
|
||||
#include "RiuGuiTheme.h"
|
||||
#include "RiuPlotMainWindowTools.h"
|
||||
#include "RiuQwtCurvePointTracker.h"
|
||||
#include "RiuQwtLinearScaleEngine.h"
|
||||
@@ -1095,7 +1096,10 @@ void RiuQwtPlotWidget::resetPlotItemHighlighting()
|
||||
else if ( plotShapeItem )
|
||||
{
|
||||
QPen pen = plotShapeItem->pen();
|
||||
pen.setColor( QColor( Qt::black ) );
|
||||
|
||||
auto color = RiuGuiTheme::getColorByVariableName( "markerColor" );
|
||||
|
||||
pen.setColor( color );
|
||||
pen.setWidth( 1 );
|
||||
plotShapeItem->setPen( pen );
|
||||
plotShapeItem->setZ( plotShapeItem->z() - 100.0 );
|
||||
|
||||
Reference in New Issue
Block a user