diff options
Diffstat (limited to 'plugingui/humanizerframecontent.cc')
-rw-r--r-- | plugingui/humanizerframecontent.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugingui/humanizerframecontent.cc b/plugingui/humanizerframecontent.cc index 51725d6..b074746 100644 --- a/plugingui/humanizerframecontent.cc +++ b/plugingui/humanizerframecontent.cc @@ -82,12 +82,12 @@ HumanizerframeContent::HumanizerframeContent(Widget* parent, this, &HumanizerframeContent::stddevKnobValueChanged); } -float HumanizerframeContent::stddevSettingsToKnob(float value) +float HumanizerframeContent::stddevSettingsToKnob(float value) const { return (value - 0.5f) / 3.0f; } -float HumanizerframeContent::stddevKnobToSettings(float value) +float HumanizerframeContent::stddevKnobToSettings(float value) const { return value * 3.0f + 0.5f; } |