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);
|
||||
|
||||
str->setAdjusterListener (this);
|
||||
|
||||
if (str->delay < 200) {
|
||||
str->delay = 200;
|
||||
}
|
||||
|
||||
scal->setAdjusterListener (this);
|
||||
|
||||
if (scal->delay < 200) {
|
||||
scal->delay = 200;
|
||||
}
|
||||
|
||||
neigh->setAdjusterListener (this);
|
||||
|
||||
if (neigh->delay < 200) {
|
||||
neigh->delay = 200;
|
||||
}
|
||||
|
||||
gain->setAdjusterListener (this);
|
||||
|
||||
if (gain->delay < 200) {
|
||||
gain->delay = 200;
|
||||
}
|
||||
|
||||
offs->setAdjusterListener (this);
|
||||
|
||||
if (offs->delay < 200) {
|
||||
offs->delay = 200;
|
||||
}
|
||||
|
||||
vart->setAdjusterListener (this);
|
||||
|
||||
if (vart->delay < 200) {
|
||||
vart->delay = 200;
|
||||
}
|
||||
|
||||
limd->setAdjusterListener (this);
|
||||
|
||||
if (limd->delay < 200) {
|
||||
limd->delay = 200;
|
||||
}
|
||||
|
||||
pack_start (*retinexVBox);
|
||||
pack_start (*expsettings);
|
||||
|
||||
|
Reference in New Issue
Block a user