Fix type in RiaColorTools contrastColor

This commit is contained in:
Gaute Lindkvist
2018-12-21 10:11:01 +01:00
parent d54c509b35
commit 128208d35a
6 changed files with 7 additions and 7 deletions

View File

@@ -741,7 +741,7 @@ cvf::Vec3f RivGridBoxGenerator::cornerDirection(FaceType face1, FaceType face2)
void RivGridBoxGenerator::updateFromBackgroundColor(const cvf::Color3f& backgroundColor)
{
m_gridColor = RiaColorTools::computeOffsetColor(backgroundColor, 0.3f);
m_gridLegendColor = RiaColorTools::constrastColor(backgroundColor);
m_gridLegendColor = RiaColorTools::contrastColor(backgroundColor);
}
//--------------------------------------------------------------------------------------------------