Skip to content

Commit

Permalink
Use correctly scaled modulation dept for display (#5568)
Browse files Browse the repository at this point in the history
We were using getModulation not getModDepth which is the
difference between the scaled and 01 apis, so mod list was
inconsistent display with infowindow.

Closes #5562
  • Loading branch information
baconpaul authored Dec 6, 2021
1 parent 5f7d0bd commit 5873a27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/surge-xt/gui/overlays/ModulationEditor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -610,7 +610,7 @@ struct ModulationListContents : public juce::Component, public Surge::GUI::SkinC
d.isBipolar = synth->isBipolarModulation(thisms);
d.isMuted = synth->isModulationMuted(ptag, thisms, d.source_scene, d.source_index);
p->get_display_of_modulation_depth(
pdisp, synth->getModulation(ptag, thisms, d.source_scene, d.source_index),
pdisp, synth->getModDepth(ptag, thisms, d.source_scene, d.source_index),
synth->isBipolarModulation(thisms), Parameter::InfoWindow, &(d.mss));
d.moddepth = pdisp;
}
Expand Down

0 comments on commit 5873a27

Please sign in to comment.