~tytel/helm/development

« back to all changes in this revision

Viewing changes to src/editor_components/synth_slider.cpp

  • Committer: mtytel
  • Date: 2017-07-22 20:50:28 UTC
  • Revision ID: git-v1:cb54f5d9645fbd384a73b503448a9bf37ab38ace
Fixed Midi mapping to stepped value

Show diffs side-by-side

added added

removed removed

Lines of Context:
306
306
      parent->getSynth()->getDestinationConnections(getName().toStdString());
307
307
 
308
308
  if (result == kArmMidiLearn)
309
 
    synth->armMidiLearn(getName().toStdString(), getMinimum(), getMaximum());
 
309
    synth->armMidiLearn(getName().toStdString());
310
310
  else if (result == kClearMidiLearn)
311
311
    synth->clearMidiLearn(getName().toStdString());
312
312
  else if (result == kDefaultValue)