mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Fix type in RiaColorTools contrastColor
This commit is contained in:
@@ -306,7 +306,7 @@ QwtPlotItem* RiuWellPathComponentPlotItem::createMarker(double posX, double dept
|
||||
QColor textColor = RiaColorTools::toQColor(baseColor.toColor3f(), 1.0);
|
||||
if (contrastTextColor)
|
||||
{
|
||||
textColor = RiaColorTools::toQColor(RiaColorTools::constrastColor(baseColor.toColor3f()));
|
||||
textColor = RiaColorTools::toQColor(RiaColorTools::contrastColor(baseColor.toColor3f()));
|
||||
}
|
||||
QwtPlotMarker* marker = new QwtPlotMarker(label);
|
||||
RiuQwtSymbol* symbol = new RiuQwtSymbol(symbolType, "", RiuQwtSymbol::LabelRightOfSymbol);
|
||||
|
||||
Reference in New Issue
Block a user