Browse Source

Make Knob enable param smoothing only if step is disabled.

tags/v2.0.0
Andrew Belt 3 years ago
parent
commit
0deeff8560
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      src/app/Knob.cpp

+ 2
- 1
src/app/Knob.cpp View File

@@ -43,7 +43,8 @@ void Knob::initParamQuantity() {
if (pq) {
if (snap)
pq->snapEnabled = true;
if (smooth)
// Only enable smoothing if snapping is disabled
if (smooth && !pq->snapEnabled)
pq->smoothEnabled = true;
}
}


Loading…
Cancel
Save