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

@ -43,7 +43,7 @@ CropWindow::CropWindow (ImageArea* parent, bool isLowUpdatePriority_, bool isDet
pmlistener(nullptr), pmhlistener(nullptr), observedCropWin(nullptr),
crop_custom_ratio(0.f)
{
initZoomSteps();
initZoomSteps();
Glib::RefPtr<Pango::Context> context = parent->get_pango_context () ;
Pango::FontDescription fontd = context->get_font_description ();

View File

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