Retinex: Set delay for sliders to 200 ms to avoid double processing when moving sliders
This commit is contained in:
@@ -166,12 +166,47 @@ Retinex::Retinex () : FoldableToolPanel(this, "retinex", M("TP_RETINEX_LABEL"),
|
|||||||
expsettings->add(*settingsVBox);
|
expsettings->add(*settingsVBox);
|
||||||
|
|
||||||
str->setAdjusterListener (this);
|
str->setAdjusterListener (this);
|
||||||
|
|
||||||
|
if (str->delay < 200) {
|
||||||
|
str->delay = 200;
|
||||||
|
}
|
||||||
|
|
||||||
scal->setAdjusterListener (this);
|
scal->setAdjusterListener (this);
|
||||||
|
|
||||||
|
if (scal->delay < 200) {
|
||||||
|
scal->delay = 200;
|
||||||
|
}
|
||||||
|
|
||||||
neigh->setAdjusterListener (this);
|
neigh->setAdjusterListener (this);
|
||||||
|
|
||||||
|
if (neigh->delay < 200) {
|
||||||
|
neigh->delay = 200;
|
||||||
|
}
|
||||||
|
|
||||||
gain->setAdjusterListener (this);
|
gain->setAdjusterListener (this);
|
||||||
|
|
||||||
|
if (gain->delay < 200) {
|
||||||
|
gain->delay = 200;
|
||||||
|
}
|
||||||
|
|
||||||
offs->setAdjusterListener (this);
|
offs->setAdjusterListener (this);
|
||||||
|
|
||||||
|
if (offs->delay < 200) {
|
||||||
|
offs->delay = 200;
|
||||||
|
}
|
||||||
|
|
||||||
vart->setAdjusterListener (this);
|
vart->setAdjusterListener (this);
|
||||||
|
|
||||||
|
if (vart->delay < 200) {
|
||||||
|
vart->delay = 200;
|
||||||
|
}
|
||||||
|
|
||||||
limd->setAdjusterListener (this);
|
limd->setAdjusterListener (this);
|
||||||
|
|
||||||
|
if (limd->delay < 200) {
|
||||||
|
limd->delay = 200;
|
||||||
|
}
|
||||||
|
|
||||||
pack_start (*retinexVBox);
|
pack_start (*retinexVBox);
|
||||||
pack_start (*expsettings);
|
pack_start (*expsettings);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user