MCU: fix banking in the plugin subview

the addition of the current bank to the global strip position was just
causing the vpots to be off by the bank number, so past bank 1 the pots
were tied to the wrong plugins
This commit is contained in:
Franke Burgarino 2025-08-26 17:20:02 -05:00
parent b501ae855d
commit 9fd131fbaa

View file

@ -1162,11 +1162,6 @@ void PluginSelect::setup_vpot(
void PluginSelect::handle_vselect_event(uint32_t global_strip_position,
std::shared_ptr<ARDOUR::Stripable> subview_stripable)
{
/* adjust global_strip_position to make sure we're accessing the
* correct controllable since we might be banked within the subview.
*/
global_strip_position += _current_bank;
/* PluginSelect mode: press selects the plugin shown on the strip's LCD */
if (!subview_stripable) {
return;