diff options
author | Ben Loftis <ben@harrisonconsoles.com> | 2020-02-20 11:24:00 -0600 |
---|---|---|
committer | Ben Loftis <ben@harrisonconsoles.com> | 2020-02-20 12:25:51 -0600 |
commit | ef5fddd8b568e19b17d9c187f1d767df30146089 (patch) | |
tree | fe2cd55bd6e884bc132dacd7f47548a92467fe68 /libs | |
parent | 4f5076a81ae58d7493c4885ab644b125580927b3 (diff) |
MCU: fix pan_azimuth direction by setting Rotary flag.
Diffstat (limited to 'libs')
-rw-r--r-- | libs/surfaces/mackie/strip.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libs/surfaces/mackie/strip.cc b/libs/surfaces/mackie/strip.cc index 84ab1bb3fc..27f70f5195 100644 --- a/libs/surfaces/mackie/strip.cc +++ b/libs/surfaces/mackie/strip.cc @@ -585,7 +585,7 @@ Strip::notify_panner_azi_changed (bool force_update) return; } - double normalized_pos = pan_control->internal_to_interface (pan_control->get_value()); + double normalized_pos = pan_control->internal_to_interface (pan_control->get_value(), true); double internal_pos = pan_control->get_value(); if (force_update || (normalized_pos != _last_pan_azi_position_written)) { @@ -1019,14 +1019,14 @@ Strip::handle_pot (Pot& pot, float delta) } else { - double p = ac->get_interface(); + double p = ac->get_interface(true); p += delta; p = max (0.0, p); p = min (1.0, p); - ac->set_value ( ac->interface_to_internal(p), gcd); + ac->set_interface ( p, true); } } |