Display Locallab Hue, Chroma and Luma reference values on mask curves

Bugfixe: Locallab reference values were only shown for the last control spot instead of selected one
This commit is contained in:
Pandagrapher
2019-02-09 13:03:07 +01:00
parent 33bfa31c1a
commit 8569738cf6
6 changed files with 7 additions and 7 deletions

View File

@@ -247,7 +247,7 @@ CurveEditor::CurveEditor (Glib::ustring text, CurveEditorGroup* ceGroup, CurveEd
{
bgHistValid = false;
locallabRef = 0.0;
locallabRef = 0.0;
remoteDrag = false;
selected = DCT_Linear;
bottomBarCP = nullptr;
@@ -330,11 +330,10 @@ void CurveEditor::updateLocallabBackground(double ref)
// Copy Locallab reference value in the curve editor cache
locallabRef = ref;
// Then call the curve editor group to eventually update the histogram
// Then call the curve editor group to eventually update the histogram
subGroup->updateLocallabBackground(this);
}
// Open up the curve if it has modifications and it's not already opened
// Returns: true if curve was non linear and opened
bool CurveEditor::openIfNonlinear()