Changed default delay for adjusters from 0 to 200 ms

This commit is contained in:
heckflosse
2015-09-13 17:40:02 +02:00
parent 18fb107f82
commit f7afe06d8b
20 changed files with 98 additions and 140 deletions

View File

@@ -34,8 +34,8 @@ SharpenMicro::SharpenMicro () : FoldableToolPanel(this, "sharpenmicro", M("TP_SH
amount = Gtk::manage(new Adjuster (M("TP_SHARPENMICRO_AMOUNT"), 0, 100, 1, 20));
amount->setAdjusterListener (this);
if (amount->delay < 1000) {
amount->delay = 1000;
if (amount->delay < options.adjusterMaxDelay) {
amount->delay = options.adjusterMaxDelay;
}
amount->show();
@@ -43,8 +43,8 @@ SharpenMicro::SharpenMicro () : FoldableToolPanel(this, "sharpenmicro", M("TP_SH
uniformity->setAdjusterListener (this);
if (uniformity->delay < 1000) {
uniformity->delay = 1000;
if (uniformity->delay < options.adjusterMaxDelay) {
uniformity->delay = options.adjusterMaxDelay;
}
uniformity->show();