mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-30 18:37:40 +01:00
use “1” as small-step for integer controls.
This commit is contained in:
parent
56ba08b7cb
commit
fa3896a483
1 changed files with 1 additions and 1 deletions
|
|
@ -149,7 +149,7 @@ ParameterDescriptor::update_steps()
|
|||
step = step / logf(30.0f);
|
||||
largestep = largestep / logf(30.0f);
|
||||
} else if (integer_step) {
|
||||
smallstep = std::max(1.0, rint(smallstep));
|
||||
smallstep = 1.0;
|
||||
step = std::max(1.0, rint(step));
|
||||
largestep = std::max(1.0, rint(largestep));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue