summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libs/surfaces/mackie/strip.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/libs/surfaces/mackie/strip.cc b/libs/surfaces/mackie/strip.cc
index 85d40bc730..8e8d2f8dc6 100644
--- a/libs/surfaces/mackie/strip.cc
+++ b/libs/surfaces/mackie/strip.cc
@@ -907,8 +907,9 @@ Strip::handle_pot (Pot& pot, float delta)
}
double p = pot.get_value ();
p += delta;
- p = max (ac->lower(), p);
- p = min (ac->upper(), p);
+ // fader and pot should be the same and fader is hard coded 0 -> 1
+ p = max (0.0, p);
+ p = min (1.0, p);
pot.set_value (p);
}