This website works better with JavaScript.
Home
Help
Sign In
VCVRack
/
Rack
mirror of
https://github.com/VCVRack/Rack.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
43
Wiki
Activity
Browse Source
Make Knob enable param smoothing only if step is disabled.
tags/v2.0.0
Andrew Belt
3 years ago
parent
02560a43da
commit
0deeff8560
1 changed files
with
2 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+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;
}
}
Write
Preview
Loading…
Cancel
Save