diff options
author | Robin Gareus <robin@gareus.org> | 2020-02-13 03:13:30 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2020-02-13 03:13:30 +0100 |
commit | 7e25298721f534b16f25be4920eaddba4f513668 (patch) | |
tree | 0e600efc4a0b436c56954868a86f87c0f5992b11 | |
parent | 3cb4678bb313c70710a8b2810cb5a65b3656165e (diff) |
FP8: fix direction of panner bar on scribble-strip
(amend 4f90bd6298, see also c663a2d8ef6)
-rw-r--r-- | libs/surfaces/faderport8/fp8_strip.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/surfaces/faderport8/fp8_strip.cc b/libs/surfaces/faderport8/fp8_strip.cc index 7f83f6efc4..616e4f3fc0 100644 --- a/libs/surfaces/faderport8/fp8_strip.cc +++ b/libs/surfaces/faderport8/fp8_strip.cc @@ -615,7 +615,7 @@ FP8Strip::periodic_update_meter () } } else if (_pan_ctrl) { have_panner = _base.show_panner (); - float panpos = _pan_ctrl->internal_to_interface (_pan_ctrl->get_value()); + float panpos = _pan_ctrl->internal_to_interface (_pan_ctrl->get_value(), true); int val = std::min (127.f, std::max (0.f, panpos * 128.f)); set_bar_mode (have_panner ? 1 : 4); // Bipolar or Off if (val != _last_barpos && have_panner) { |