mirror of
https://github.com/robbert-vdh/nih-plug.git
synced 2026-07-01 02:36:54 +00:00
Add prefix to plain_value() and normalized_value()
To make it clearer that these functions include monophonic modulation. When creating GUI widgets, you should be using the unmodulated variants.
This commit is contained in:
@@ -66,11 +66,11 @@ impl<'a, P: Param> ParamSlider<'a, P> {
|
||||
}
|
||||
|
||||
fn plain_value(&self) -> P::Plain {
|
||||
self.param.plain_value()
|
||||
self.param.modulated_plain_value()
|
||||
}
|
||||
|
||||
fn normalized_value(&self) -> f32 {
|
||||
self.param.normalized_value()
|
||||
self.param.modulated_normalized_value()
|
||||
}
|
||||
|
||||
fn string_value(&self) -> String {
|
||||
|
||||
Reference in New Issue
Block a user