Data less than or equal to zero should be considered "off"
This commit is contained in:
parent
5b9822ab98
commit
157d4b2c57
@ -48,7 +48,7 @@ value_as_string(const ARDOUR::ParameterDescriptor& desc,
|
||||
}
|
||||
|
||||
if (desc.toggled) {
|
||||
return v >= 0 ? _("on") : _("off");
|
||||
return v > 0 ? _("on") : _("off");
|
||||
}
|
||||
|
||||
// Value is not a scale point, print it normally
|
||||
|
Loading…
Reference in New Issue
Block a user