- combo boxes have midi controller dialog
- reduce update of parameter sliders during Midi Controller Dialog
This commit is contained in:
@@ -306,8 +306,6 @@ void MidiCC_PopUp::buttonClicked (Button* buttonThatWasClicked)
|
||||
}
|
||||
GetMin();
|
||||
GetMax();
|
||||
restoreTestSlider();
|
||||
TestValueUpdate();
|
||||
//[/UserButtonCode_button_move_sliders_enable]
|
||||
}
|
||||
else if (buttonThatWasClicked == button_assign_enable)
|
||||
@@ -323,8 +321,6 @@ void MidiCC_PopUp::buttonClicked (Button* buttonThatWasClicked)
|
||||
currentParamValue = toParam(pMidiCC->getParam(pMidiCC_container), (synth_float_t)lastMidiCCvalue);
|
||||
currentControlValue = toParam(pMidiCC->getControl(pMidiCC_container), (synth_float_t)lastMidiCCvalue);
|
||||
}
|
||||
restoreTestSlider();
|
||||
TestValueUpdate();
|
||||
//[/UserButtonCode_button_assign_enable]
|
||||
}
|
||||
else if (buttonThatWasClicked == button_midi_learn)
|
||||
@@ -337,8 +333,6 @@ void MidiCC_PopUp::buttonClicked (Button* buttonThatWasClicked)
|
||||
//[UserButtonCode_button_apply_on_patch_init] -- add your button handler code here..
|
||||
state = buttonThatWasClicked->getToggleState();
|
||||
pMidiCC->setDoApplyOnPatchInit(pMidiCC_container, state);
|
||||
restoreTestSlider();
|
||||
TestValueUpdate();
|
||||
//[/UserButtonCode_button_apply_on_patch_init]
|
||||
}
|
||||
|
||||
@@ -363,24 +357,18 @@ void MidiCC_PopUp::labelTextChanged (Label* labelThatHasChanged)
|
||||
currentParamValue = toParam(pMidiCC->getParam(pMidiCC_container), (synth_float_t)lastMidiCCvalue);
|
||||
currentControlValue = toParam(pMidiCC->getControl(pMidiCC_container), (synth_float_t)lastMidiCCvalue);
|
||||
}
|
||||
restoreTestSlider();
|
||||
TestValueUpdate();
|
||||
//[/UserLabelCode_label_MidiCC_ID]
|
||||
}
|
||||
else if (labelThatHasChanged == label_control_min)
|
||||
{
|
||||
//[UserLabelCode_label_control_min] -- add your label text handling code here..
|
||||
SetMin();
|
||||
restoreTestSlider();
|
||||
TestValueUpdate();
|
||||
//[/UserLabelCode_label_control_min]
|
||||
}
|
||||
else if (labelThatHasChanged == label_control_max)
|
||||
{
|
||||
//[UserLabelCode_label_control_max] -- add your label text handling code here..
|
||||
SetMax();
|
||||
restoreTestSlider();
|
||||
TestValueUpdate();
|
||||
//[/UserLabelCode_label_control_max]
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user