#5961 Color Legend : Improve default color legend for contour plots

This commit is contained in:
Magne Sjaastad committed 2020-08-06 11:20:17 +02:00
1 parent 860e6d54a9
commit 6a6a093d05
4 files changed
+38 -23

No files matched your search

@@ -699,12 +699,12 @@ void RimRegularLegendConfig::updateCategoryItems()
cvf::Color3ub ubColor( item->color() );
categories.push_back( std::make_tuple( item->itemName(), item->categoryValue(), ubColor ) );
}
// Reverse the categories to make the ordering identical to items in project tree
std::reverse( categories.begin(), categories.end() );
setCategoryItems( categories );
}
// Reverse the categories to make the ordering identical to items in project tree
std::reverse( categories.begin(), categories.end() );
setCategoryItems( categories );
}
//--------------------------------------------------------------------------------------------------