mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-12 16:32:12 -05:00
#1825 Fix problem of linestyle and symbols beeing reused uneccessary
This commit is contained in:
1 parent
fad088f1b2
commit
b4cbe9fdd2
1 file changed
+2
-2
@@ -186,11 +186,11 @@ std::map<std::string, size_t> RimSummaryCurveAppearanceCalculator::mapNameToAppe
|
|||||||
}
|
}
|
||||||
else if (appearance == CurveAppearanceType::SYMBOL)
|
else if (appearance == CurveAppearanceType::SYMBOL)
|
||||||
{
|
{
|
||||||
numOptions = caf::AppEnum<RimPlotCurve::PointSymbolEnum>::size();
|
numOptions = caf::AppEnum<RimPlotCurve::PointSymbolEnum>::size() - 1; // -1 since the No symbol option is not counted see cycledSymbol()
|
||||||
}
|
}
|
||||||
else if (appearance == CurveAppearanceType::LINE_STYLE)
|
else if (appearance == CurveAppearanceType::LINE_STYLE)
|
||||||
{
|
{
|
||||||
numOptions = caf::AppEnum<RimPlotCurve::LineStyleEnum>::size();
|
numOptions = caf::AppEnum<RimPlotCurve::LineStyleEnum>::size() - 1; // -1 since the No symbol option is not counted see cycledLineStyle()
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
// If none of these styles are used, fall back to a simply incrementing index
|
// If none of these styles are used, fall back to a simply incrementing index
|
||||||
|
|||||||
Reference in new issue
Block a user