From bb2631d3fb5e963d80bb358cac116742e6e700b9 Mon Sep 17 00:00:00 2001 From: Thanatomanic Date: Sat, 30 Jun 2018 20:21:10 +0200 Subject: [PATCH] Also turn the chroma indicator in the bar yellow --- rtgui/histogrampanel.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rtgui/histogrampanel.cc b/rtgui/histogrampanel.cc index d742f1386..e532d17b0 100644 --- a/rtgui/histogrampanel.cc +++ b/rtgui/histogrampanel.cc @@ -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();