Corrects typo that fixes halign behavior. Chroma color test: yellow

This commit is contained in:
Thanatomanic 2018-06-30 19:52:37 +02:00
parent c86cce125f
commit b3dcb915b1
2 changed files with 3 additions and 3 deletions

View File

@ -45,7 +45,7 @@ HistogramPanel::HistogramPanel ()
setExpandAlignProperties(histogramArea, true, true, Gtk::ALIGN_FILL, Gtk::ALIGN_FILL); setExpandAlignProperties(histogramArea, true, true, Gtk::ALIGN_FILL, Gtk::ALIGN_FILL);
histogramRGBArea = Gtk::manage (new HistogramRGBArea ()); histogramRGBArea = Gtk::manage (new HistogramRGBArea ());
setExpandAlignProperties(histogramArea, false, true, Gtk::ALIGN_END, Gtk::ALIGN_FILL); setExpandAlignProperties(histogramRGBArea, true, false, Gtk::ALIGN_FILL, Gtk::ALIGN_END);
histogramRGBArea->show(); histogramRGBArea->show();
gfxGrid = Gtk::manage (new Gtk::Grid ()); gfxGrid = Gtk::manage (new Gtk::Grid ());
@ -875,7 +875,7 @@ void HistogramArea::updateBackBuffer ()
if (needChroma && !rawMode) { if (needChroma && !rawMode) {
drawCurve(cr, chist, realhistheight, w, h); drawCurve(cr, chist, realhistheight, w, h);
cr->set_source_rgb (0., 0., 0.); cr->set_source_rgb (0.9, 0.9, 0.);
cr->stroke (); cr->stroke ();
drawMarks(cr, chist, realhistheight, w, ui, oi); drawMarks(cr, chist, realhistheight, w, ui, oi);