Allow very fine value adjustment.

master
Peter Nelson 2013-02-05 19:28:56 +00:00
parent ceafbff5f4
commit a0e5770e28
1 changed files with 1 additions and 1 deletions

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