From 4dd85ea8754b6b8ef0ac86ef0fcbf5d66da0d131 Mon Sep 17 00:00:00 2001 From: Thanatomanic Date: Thu, 5 Jul 2018 08:29:37 +0200 Subject: [PATCH] Now it works: histogram always shows gridlines for 8 stops in log-log mode --- rtgui/histogrampanel.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rtgui/histogrampanel.cc b/rtgui/histogrampanel.cc index 7e3b63a20..44fd40686 100644 --- a/rtgui/histogrampanel.cc +++ b/rtgui/histogrampanel.cc @@ -887,8 +887,8 @@ void HistogramArea::updateBackBuffer () int nrOfHGridPartitions = (int)rtengine::min (16.0, pow (2.0, floor ((h - 100) / 250) + 2)); int nrOfVGridPartitions = (int)rtengine::min (16.0, pow (2.0, floor ((w - 100) / 250) + 2)); - if (rawMode || options.histogramDrawMode == 2) { - nrOfVGridPartitions = 8; // always show 8 stops for the raw histogam and in log-log mode + if (options.histogramDrawMode == 2) { + nrOfVGridPartitions = 8; // always show 8 stops in log-log mode } // draw vertical gridlines