mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 23:35:03 +01:00
FP8: fix direction of panner bar on scribble-strip
(amend4f90bd6298, see alsoc663a2d8ef)
This commit is contained in:
parent
3cb4678bb3
commit
7e25298721
1 changed files with 1 additions and 1 deletions
|
|
@ -615,7 +615,7 @@ FP8Strip::periodic_update_meter ()
|
||||||
}
|
}
|
||||||
} else if (_pan_ctrl) {
|
} else if (_pan_ctrl) {
|
||||||
have_panner = _base.show_panner ();
|
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));
|
int val = std::min (127.f, std::max (0.f, panpos * 128.f));
|
||||||
set_bar_mode (have_panner ? 1 : 4); // Bipolar or Off
|
set_bar_mode (have_panner ? 1 : 4); // Bipolar or Off
|
||||||
if (val != _last_barpos && have_panner) {
|
if (val != _last_barpos && have_panner) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue