13
0

MCU: fix pan_azimuth direction by setting Rotary flag.

This commit is contained in:
Ben Loftis 2020-02-20 11:24:00 -06:00
parent 4f5076a81a
commit ef5fddd8b5

View File

@ -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);
}
}