Skip to content

Commit

Permalink
Infowindow modulation gets 3 decimals, not infinite (surge-synthesize…
Browse files Browse the repository at this point in the history
  • Loading branch information
baconpaul authored Jan 22, 2020
1 parent 06fd810 commit b9bd1e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/gui/SurgeGUIEditor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2721,7 +2721,7 @@ void SurgeGUIEditor::valueChanged(CControl* control)

synth->getParameterName(ptag, txt);
sprintf(pname, "%s -> %s", modsource_abberations_short[thisms], txt);
sprintf(pdisp, "%f", synth->getModDepth(ptag, thisms));
sprintf(pdisp, "%.3f", synth->getModDepth(ptag, thisms));
((CParameterTooltip*)infowindow)->setLabel(pname, pdisp);
modulate = true;

Expand Down

0 comments on commit b9bd1e8

Please sign in to comment.