Allow very fine value adjustment.

This commit is contained in:
2013-02-05 19:28:56 +00:00
parent ceafbff5f4
commit a0e5770e28

View File

@@ -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);