Also turn the chroma indicator in the bar yellow

This commit is contained in:
Thanatomanic
2018-06-30 20:21:10 +02:00
parent 3a799af85f
commit bb2631d3fb

View File

@@ -525,7 +525,7 @@ void HistogramRGBArea::updateBackBuffer (int r, int g, int b, const Glib::ustrin
// Chroma
float chromaval = sqrt(Lab_a * Lab_a + Lab_b * Lab_b) / 1.8;
// float chromaval = sqrt(Lab_a*Lab_a + Lab_b*Lab_b);
cc->set_source_rgb(0.0, 0.0, 0.0);
cc->set_source_rgb(0.9, 0.9, 0.0);
cc->move_to((int)(chromaval * (winw / 100.0)), 0);
cc->line_to((int)(chromaval * (winw / 100.0)), winh - 0);
cc->stroke();