13
0

mackie: update fader+pot when changing flip status

This commit is contained in:
Paul Davis 2016-02-02 11:17:38 -05:00
parent e38fad6228
commit 9b1a150dd9

View File

@ -1368,6 +1368,15 @@ Strip::flip_mode_changed ()
do_parameter_display (BusSendLevel, fader_control->get_value()); do_parameter_display (BusSendLevel, fader_control->get_value());
} }
/* update fader */
_surface->write (_fader->set_position (pot_control->internal_to_interface (pot_control->get_value ())));
/* update pot */
_surface->write (_vpot->set (fader_control->internal_to_interface (fader_control->get_value()), true, Pot::wrap));
} else { } else {
/* do nothing */ /* do nothing */
} }