mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#5961 Color Legend : Improve default color legend for contour plots
This commit is contained in:
@@ -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 );
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user