From 8ad68da9012733db78c867cdeac65d644bc3e039 Mon Sep 17 00:00:00 2001 From: Desmis Date: Tue, 26 Feb 2019 17:20:21 +0100 Subject: [PATCH] Fixed bug in CBDL --- rtgui/locallab.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rtgui/locallab.cc b/rtgui/locallab.cc index fab8b4463..a10e4ebd6 100644 --- a/rtgui/locallab.cc +++ b/rtgui/locallab.cc @@ -1044,7 +1044,7 @@ void Locallab::lumacontrastPlusPressed() for (int i = 0; i < 5; i++) { float inc = (5 - i); - multiplier[i]->setValue(multiplier[i]->getValue() + inc); + multiplier[i]->setValue(multiplier[i]->getValue() + 0.01f * inc ); } // Raise event (only for first multiplier because associated event concerns all multipliers) @@ -1057,7 +1057,7 @@ void Locallab::lumacontrastMinusPressed() for (int i = 0; i < 5; i++) { float inc = - (5 - i); - multiplier[i]->setValue(multiplier[i]->getValue() + inc); + multiplier[i]->setValue(multiplier[i]->getValue() + 0.01f * inc); } // Raise event (only for first multiplier because associated event concerns all multipliers)