fixed behavior whenn unison and humanize is set over midi

This commit is contained in:
2026-05-09 08:30:12 +02:00
parent 597c70bb53
commit 0de8c05f00
+10
View File
@@ -5366,6 +5366,16 @@ void JaySynthAudioProcessorEditor::paramUpdate(int paramID, bool doHostUpdate)
if (pButton)
{
pButton->setToggleState(getProcessor()->getParameter(paramID) > 0.5, juce::NotificationType::dontSendNotification);
if (pButton == m_button_humanize_enable)
{
getProcessor()->humanizeModeChanged();
}
else if (pButton == m_button_unisono_enable)
{
getProcessor()->unisonoModeChanged();
}
}
}