Allow very fine value adjustment.
parent
ceafbff5f4
commit
a0e5770e28
|
@ -133,7 +133,7 @@ void PUi::OnScroll(float dx, float dy)
|
|||
if (this->active) {
|
||||
dy *= .1f;
|
||||
if (this->mm & 1) dy *= .1f;
|
||||
if (this->mm & 2) dy *= .01f;
|
||||
if (this->mm & 2) dy *= .001f;
|
||||
float value = this->active->value + dy;
|
||||
if (this->active->SetValue(value)) {
|
||||
this->ParameterChanged(this->active);
|
||||
|
|
Loading…
Reference in New Issue