summaryrefslogtreecommitdiff
path: root/libs/evoral/evoral
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2014-12-02 19:02:03 -0500
committerDavid Robillard <d@drobilla.net>2014-12-02 19:02:03 -0500
commit25efe5953c8903614d574cac3e8c8e8f3d444770 (patch)
treedb7f5fc6e0fd6799aa3efb2831f6a8f4328daf1a /libs/evoral/evoral
parentec00c6d652f6b8854b344ab3741cc90852d26487 (diff)
Fix range of pan controls.
Set default range to [0,1] since [0,0] is problematic and useless anyway.
Diffstat (limited to 'libs/evoral/evoral')
-rw-r--r--libs/evoral/evoral/ParameterDescriptor.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/evoral/evoral/ParameterDescriptor.hpp b/libs/evoral/evoral/ParameterDescriptor.hpp
index 0323db1753..5eac28eba9 100644
--- a/libs/evoral/evoral/ParameterDescriptor.hpp
+++ b/libs/evoral/evoral/ParameterDescriptor.hpp
@@ -27,7 +27,7 @@ struct ParameterDescriptor
ParameterDescriptor()
: normal(0.0)
, lower(0.0)
- , upper(0.0)
+ , upper(1.0)
, toggled(false)
{}