Corrects typo that fixes halign behavior. Chroma color test: yellow
This commit is contained in:
parent
c86cce125f
commit
b3dcb915b1
@ -43,7 +43,7 @@ CropWindow::CropWindow (ImageArea* parent, bool isLowUpdatePriority_, bool isDet
|
|||||||
pmlistener(nullptr), pmhlistener(nullptr), observedCropWin(nullptr),
|
pmlistener(nullptr), pmhlistener(nullptr), observedCropWin(nullptr),
|
||||||
crop_custom_ratio(0.f)
|
crop_custom_ratio(0.f)
|
||||||
{
|
{
|
||||||
initZoomSteps();
|
initZoomSteps();
|
||||||
|
|
||||||
Glib::RefPtr<Pango::Context> context = parent->get_pango_context () ;
|
Glib::RefPtr<Pango::Context> context = parent->get_pango_context () ;
|
||||||
Pango::FontDescription fontd = context->get_font_description ();
|
Pango::FontDescription fontd = context->get_font_description ();
|
||||||
|
@ -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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user