From b3dcb915b169b07adfa715a4d2e1466d37e90d1f Mon Sep 17 00:00:00 2001 From: Thanatomanic Date: Sat, 30 Jun 2018 19:52:37 +0200 Subject: [PATCH] Corrects typo that fixes halign behavior. Chroma color test: yellow --- rtgui/cropwindow.cc | 2 +- rtgui/histogrampanel.cc | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/rtgui/cropwindow.cc b/rtgui/cropwindow.cc index 08ea9d0f7..3b11f8021 100644 --- a/rtgui/cropwindow.cc +++ b/rtgui/cropwindow.cc @@ -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 context = parent->get_pango_context () ; Pango::FontDescription fontd = context->get_font_description (); diff --git a/rtgui/histogrampanel.cc b/rtgui/histogrampanel.cc index 20c3b91d9..d742f1386 100644 --- a/rtgui/histogrampanel.cc +++ b/rtgui/histogrampanel.cc @@ -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);