fattal: set the lower bound to 1 instead of 0 (so that it's obvious it still has an effect)

This commit is contained in:
Alberto Griggio 2017-11-19 18:40:48 +01:00
parent 6acf170744
commit d47e7f67b2
2 changed files with 2 additions and 2 deletions

View File

@ -755,7 +755,7 @@ public:
{ {
enabled = false; enabled = false;
threshold = 0; threshold = 0;
amount = 0; amount = 1;
} }
}; };

View File

@ -29,7 +29,7 @@ FattalToneMapping::FattalToneMapping(): FoldableToolPanel(this, "fattal", M("TP_
// setEnabledTooltipMarkup(M("TP_EPD_TOOLTIP")); // setEnabledTooltipMarkup(M("TP_EPD_TOOLTIP"));
amount = Gtk::manage(new Adjuster (M("TP_TM_FATTAL_AMOUNT"), 0., 100., 1., 0.0)); amount = Gtk::manage(new Adjuster (M("TP_TM_FATTAL_AMOUNT"), 1., 100., 1., 0.0));
threshold = Gtk::manage(new Adjuster (M("TP_TM_FATTAL_THRESHOLD"), -100., 100., 1., 0.0)); threshold = Gtk::manage(new Adjuster (M("TP_TM_FATTAL_THRESHOLD"), -100., 100., 1., 0.0));
amount->setAdjusterListener(this); amount->setAdjusterListener(this);